org.apache.lucene.search.suggest.document

## Interface CompletionTokenStream.BytesRefBuilderTermAttribute

- All Superinterfaces:
    Attribute, TermToBytesRefAttribute
  All Known Implementing Classes:
    CompletionTokenStream.BytesRefBuilderTermAttributeImpl
  Enclosing class:
    CompletionTokenStream

      public static interface CompletionTokenStream.BytesRefBuilderTermAttribute
      extends TermToBytesRefAttribute

  Attribute providing access to the term builder and UTF-16 conversion

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `BytesRefBuilder` | `builder()` Returns the builder from which the term is derived.
    `CharSequence` | `toUTF16()` Returns the term represented as UTF-16

    - ### Methods inherited from interface org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute

      `getBytesRef`

- - ### Method Detail

    - #### builder

          BytesRefBuilder builder()

      Returns the builder from which the term is derived.

    - #### toUTF16

          CharSequence toUTF16()

      Returns the term represented as UTF-16

Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.