Class PackedInt32s.Format
A format to write packed
@lucene.internal
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public class Format : object
Fields
Name | Description |
---|---|
PACKED | Compact format, all bits are written contiguously. |
PACKED_SINGLE_BLOCK | A format that may insert padding bits to improve encoding and decoding speed. Since this format doesn't support all possible bits per value, you should never use it directly, but rather use FastestFormatAndBits(Int32, Int32, Single) to find the format that best suits your needs. |
Properties
Name | Description |
---|---|
Id | Returns the ID of the format. |
Values |
Methods
Name | Description |
---|---|
ById(Int32) | Get a format according to its ID. |
ByteCount(Int32, Int32, Int32) | Computes how many |
Int64Count(Int32, Int32, Int32) | Computes how many NOTE: This was longCount() in Lucene. |
IsSupported(Int32) | Tests whether the provided number of bits per value is supported by the format. |
OverheadPerValue(Int32) | Returns the overhead per value, in bits. |
OverheadRatio(Int32) | Returns the overhead ratio ( |