Uses of Enum Class
org.apache.lucene.util.packed.PackedInts.Format
Packages that use PackedInts.Format
Package
Description
Lucene 5.0 file format.
Legacy PackedInts methods
Packed integer arrays and streams.
-
Uses of PackedInts.Format in org.apache.lucene.backward_codecs.lucene50
Methods in org.apache.lucene.backward_codecs.lucene50 with parameters of type PackedInts.FormatModifier and TypeMethodDescriptionprivate static int
ForUtil.encodedSize
(PackedInts.Format format, int packedIntsVersion, int bitsPerValue) Compute the number of bytes required to encode a block of values that requirebitsPerValue
bits per value with formatformat
. -
Uses of PackedInts.Format in org.apache.lucene.backward_codecs.packed
Methods in org.apache.lucene.backward_codecs.packed with parameters of type PackedInts.FormatModifier and TypeMethodDescriptionstatic PackedInts.Reader
LegacyPackedInts.getReaderNoHeader
(DataInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue) Expert: Restore aPackedInts.Reader
from a stream without reading metadata at the beginning of the stream. -
Uses of PackedInts.Format in org.apache.lucene.util.packed
Fields in org.apache.lucene.util.packed declared as PackedInts.FormatModifier and TypeFieldDescriptionfinal PackedInts.Format
PackedInts.FormatAndBits.format
(package private) final PackedInts.Format
PackedReaderIterator.format
(package private) final PackedInts.Format
PackedWriter.format
(package private) final PackedInts.Format
PagedMutable.format
Methods in org.apache.lucene.util.packed that return PackedInts.FormatModifier 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.protected PackedInts.Format
PackedWriter.getFormat()
static PackedInts.Format
Returns the enum constant of this class with the specified name.static PackedInts.Format[]
PackedInts.Format.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.util.packed with parameters of type PackedInts.FormatModifier 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.static BulkOperation
BulkOperation.of
(PackedInts.Format format, int bitsPerValue) Constructors in org.apache.lucene.util.packed with parameters of type PackedInts.FormatModifierConstructorDescriptionFormatAndBits
(PackedInts.Format format, int bitsPerValue) (package private)
PackedReaderIterator
(PackedInts.Format format, int packedIntsVersion, int valueCount, int bitsPerValue, DataInput in, int mem) (package private)
PackedWriter
(PackedInts.Format format, DataOutput out, int valueCount, int bitsPerValue, int mem) (package private)
PagedMutable
(long size, int pageSize, int bitsPerValue, PackedInts.Format format)