## Uses of Class
org.apache.lucene.codecs.BlockTermState

- Packages that use BlockTermState
  Package | Description
  --- | ---
  org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index.
  org.apache.lucene.codecs.lucene50 | Components from the Lucene 5.0 index format See `org.apache.lucene.codecs.lucene53` for an overview of the index format.

- - ### Uses of BlockTermState in org.apache.lucene.codecs

    Methods in org.apache.lucene.codecs that return BlockTermState
    Modifier and Type | Method and Description
    --- | ---
    `abstract BlockTermState` | PostingsReaderBase.`newTermState()` Return a newly created empty TermState
    `abstract BlockTermState` | PushPostingsWriterBase.`newTermState()` Return a newly created empty TermState
    `abstract BlockTermState` | PostingsWriterBase.`writeTerm(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen)` Write all postings for one term; use the provided `TermsEnum` to pull a `PostingsEnum`.
    `BlockTermState` | PushPostingsWriterBase.`writeTerm(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen)`

    Methods in org.apache.lucene.codecs with parameters of type BlockTermState
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | PostingsReaderBase.`decodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute)` Actually decode metadata for next term
    `abstract void` | PostingsWriterBase.`encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute)` Encode metadata as long[] and byte[].
    `abstract void` | PushPostingsWriterBase.`finishTerm(BlockTermState state)` Finishes the current term.
    `abstract PostingsEnum` | PostingsReaderBase.`postings(FieldInfo fieldInfo, BlockTermState state, PostingsEnum reuse, int flags)` Must fully consume state, since after this call that TermState may be reused.

  - ### Uses of BlockTermState in org.apache.lucene.codecs.lucene50

    Methods in org.apache.lucene.codecs.lucene50 that return BlockTermState
    Modifier and Type | Method and Description
    --- | ---
    `BlockTermState` | Lucene50PostingsReader.`newTermState()`

    Methods in org.apache.lucene.codecs.lucene50 with parameters of type BlockTermState
    Modifier and Type | Method and Description
    --- | ---
    `void` | Lucene50PostingsReader.`decodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)`
    `void` | Lucene50PostingsWriter.`encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute)`
    `void` | Lucene50PostingsWriter.`finishTerm(BlockTermState _state)` Called when we are done adding docs to this term
    `PostingsEnum` | Lucene50PostingsReader.`postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)`

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