Uses of Enum
org.apache.lucene.util.packed.PackedInts.Format
-
Uses of PackedInts.Format in org.apache.lucene.util.packed
Modifier and TypeMethodDescriptionstatic PackedInts.Format
PackedInts.Format.byId
(int id) Get a format according to its ID.protected abstract PackedInts.Format
PackedInts.Writer.getFormat()
The format used to serialize values.static PackedInts.Format
Returns the enum constant of this type with the specified name.static PackedInts.Format[]
PackedInts.Format.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic PackedInts.Decoder
PackedInts.getDecoder
(PackedInts.Format format, int version, int bitsPerValue) Get aPackedInts.Decoder
.static PackedInts.Encoder
PackedInts.getEncoder
(PackedInts.Format format, int version, int bitsPerValue) Get anPackedInts.Encoder
.static PackedInts.Mutable
PackedInts.getMutable
(int valueCount, int bitsPerValue, PackedInts.Format format) Same asPackedInts.getMutable(int, int, float)
with a pre-computed number of bits per value and format.static PackedInts.ReaderIterator
PackedInts.getReaderIteratorNoHeader
(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue, int mem) Expert: Restore aPackedInts.ReaderIterator
from a stream without reading metadata at the beginning of the stream.static PackedInts.Writer
PackedInts.getWriterNoHeader
(DataOutput out, PackedInts.Format format, int valueCount, int bitsPerValue, int mem) Expert: Create a packed integer array writer for the given output, format, value count, and number of bits per value.