Class LegacyPackedInts
- java.lang.Object
-
- org.apache.lucene.backward_codecs.packed.LegacyPackedInts
-
public class LegacyPackedInts extends java.lang.ObjectLegacy PackedInts operations.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLegacyPackedInts()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PackedInts.ReadergetReaderNoHeader(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue)Expert: Restore aPackedInts.Readerfrom a stream without reading metadata at the beginning of the stream.
-
-
-
Method Detail
-
getReaderNoHeader
public static PackedInts.Reader getReaderNoHeader(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue) throws java.io.IOException
Expert: Restore aPackedInts.Readerfrom a stream without reading metadata at the beginning of the stream. This method is useful to restore data from streams which have been created usingPackedInts.getWriterNoHeader(DataOutput, PackedInts.Format, int, int, int).- Parameters:
in- the stream to read data from, positioned at the beginning of the packed valuesformat- the format used to serializeversion- the version used to serialize the datavalueCount- how many values the stream holdsbitsPerValue- the number of bits per value- Returns:
- a Reader
- Throws:
java.io.IOException- If there is a low-level I/O error- See Also:
PackedInts.getWriterNoHeader(DataOutput, PackedInts.Format, int, int, int)
-
-