Interface NumericFieldReader.Decoder

Enclosing interface:
NumericFieldReader

public static interface NumericFieldReader.Decoder
Per-block decoder for numeric values and ordinals.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    decodeBlock(org.apache.lucene.store.DataInput input, long[] values, int count)
    Decodes a block of numeric values.
    void
    decodeOrdinals(org.apache.lucene.store.DataInput input, long[] values, int bitsPerOrd)
    Decodes a block of ordinal values.
  • Method Details

    • decodeBlock

      void decodeBlock(org.apache.lucene.store.DataInput input, long[] values, int count) throws IOException
      Decodes a block of numeric values.
      Parameters:
      input - the input to read compressed bytes from
      values - the output array to fill with decoded values
      count - the number of values to decode
      Throws:
      IOException
    • decodeOrdinals

      void decodeOrdinals(org.apache.lucene.store.DataInput input, long[] values, int bitsPerOrd) throws IOException
      Decodes a block of ordinal values.
      Parameters:
      input - the input to read compressed bytes from
      values - the output array to fill with decoded ordinal values
      bitsPerOrd - the number of bits per ordinal
      Throws:
      IOException