Class DocValuesForUtil

java.lang.Object
org.elasticsearch.index.codec.tsdb.DocValuesForUtil

public class DocValuesForUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    DocValuesForUtil(int numericBlockSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    decode(int bitsPerValue, org.apache.lucene.store.DataInput in, long[] out)
     
    void
    encode(long[] in, int bitsPerValue, org.apache.lucene.store.DataOutput out)
     
    static int
    roundBits(int bitsPerValue)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DocValuesForUtil

      public DocValuesForUtil(int numericBlockSize)
  • Method Details

    • roundBits

      public static int roundBits(int bitsPerValue)
    • encode

      public void encode(long[] in, int bitsPerValue, org.apache.lucene.store.DataOutput out) throws IOException
      Throws:
      IOException
    • decode

      public void decode(int bitsPerValue, org.apache.lucene.store.DataInput in, long[] out) throws IOException
      Throws:
      IOException