## Uses of Class
org.apache.lucene.util.BytesRefBuilder

- Packages that use BytesRefBuilder
  Package | Description
  --- | ---
  org.apache.lucene.analysis.tokenattributes | General-purpose attributes for text analysis.
  org.apache.lucene.index | Code to maintain and access indices.
  org.apache.lucene.util | Some utility classes.
  org.apache.lucene.util.automaton | Finite-state automaton for regular expressions.
  org.apache.lucene.util.fst | Finite state transducers
  org.apache.lucene.util.mutable | Comparable object wrappers

- - ### Uses of BytesRefBuilder in org.apache.lucene.analysis.tokenattributes

    Fields in org.apache.lucene.analysis.tokenattributes declared as BytesRefBuilder
    Modifier and Type | Field and Description
    --- | ---
    `protected BytesRefBuilder` | CharTermAttributeImpl.`builder` May be used by subclasses to convert to different charsets / encodings for implementing `CharTermAttributeImpl.getBytesRef()`.

  - ### Uses of BytesRefBuilder in org.apache.lucene.index

    Constructors in org.apache.lucene.index with parameters of type BytesRefBuilder
    Constructor and Description
    `Term(String fld, BytesRefBuilder bytesBuilder)` Constructs a Term with the given field and the bytes from a builder.

  - ### Uses of BytesRefBuilder in org.apache.lucene.util

    Methods in org.apache.lucene.util with parameters of type BytesRefBuilder
    Modifier and Type | Method and Description
    --- | ---
    `void` | BytesRefBuilder.`append(BytesRefBuilder builder)` Append the provided bytes to this builder.
    `void` | BytesRefBuilder.`copyBytes(BytesRefBuilder builder)` Replace the content of this builder with the provided bytes.
    `BytesRef` | BytesRefArray.`get(BytesRefBuilder spare, int index)` Returns the n'th element of this `BytesRefArray`
    `static void` | LegacyNumericUtils.`intToPrefixCoded(int val, int shift, BytesRefBuilder bytes)` Deprecated. Returns prefix coded bits after reducing the precision by `shift` bits.
    `static void` | LegacyNumericUtils.`longToPrefixCoded(long val, int shift, BytesRefBuilder bytes)` Deprecated. Returns prefix coded bits after reducing the precision by `shift` bits.

  - ### Uses of BytesRefBuilder in org.apache.lucene.util.automaton

    Methods in org.apache.lucene.util.automaton with parameters of type BytesRefBuilder
    Modifier and Type | Method and Description
    --- | ---
    `BytesRef` | CompiledAutomaton.`floor(BytesRef input, BytesRefBuilder output)` Finds largest term accepted by this Automaton, that's <= the provided input term.

  - ### Uses of BytesRefBuilder in org.apache.lucene.util.fst

    Methods in org.apache.lucene.util.fst with parameters of type BytesRefBuilder
    Modifier and Type | Method and Description
    --- | ---
    `static BytesRef` | Util.`toBytesRef(IntsRef input, BytesRefBuilder scratch)` Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte.

  - ### Uses of BytesRefBuilder in org.apache.lucene.util.mutable

    Fields in org.apache.lucene.util.mutable declared as BytesRefBuilder
    Modifier and Type | Field and Description
    --- | ---
    `BytesRefBuilder` | MutableValueStr.`value`

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