Module org.apache.lucene.core
Class Lucene95HnswVectorsReader.FieldEntry
java.lang.Object
org.apache.lucene.codecs.lucene95.Lucene95HnswVectorsReader.FieldEntry
- All Implemented Interfaces:
Accountable
- Enclosing class:
- Lucene95HnswVectorsReader
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final long
(package private) final long
(package private) final int
(package private) final byte
(package private) final int
(package private) final long
(package private) final long
(package private) final short
(package private) final int
(package private) final DirectMonotonicReader.Meta
(package private) final int[][]
(package private) final int
(package private) final int
(package private) final long
(package private) final DirectMonotonicReader.Meta
(package private) final long
private static final long
(package private) final VectorSimilarityFunction
(package private) final int
(package private) final long
(package private) final long
(package private) final VectorEncoding
(package private) final long
(package private) final long
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
ConstructorsConstructorDescriptionFieldEntry
(IndexInput input, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction) -
Method Summary
Modifier and TypeMethodDescriptionlong
Return the memory usage of this object in bytes.(package private) int
size()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Field Details
-
SHALLOW_SIZE
private static final long SHALLOW_SIZE -
similarityFunction
-
vectorEncoding
-
vectorDataOffset
final long vectorDataOffset -
vectorDataLength
final long vectorDataLength -
vectorIndexOffset
final long vectorIndexOffset -
vectorIndexLength
final long vectorIndexLength -
M
final int M -
numLevels
final int numLevels -
dimension
final int dimension -
size
final int size -
nodesByLevel
final int[][] nodesByLevel -
offsetsMeta
-
offsetsOffset
final long offsetsOffset -
offsetsBlockShift
final int offsetsBlockShift -
offsetsLength
final long offsetsLength -
docsWithFieldOffset
final long docsWithFieldOffset -
docsWithFieldLength
final long docsWithFieldLength -
jumpTableEntryCount
final short jumpTableEntryCount -
denseRankPower
final byte denseRankPower -
addressesOffset
final long addressesOffset -
blockShift
final int blockShift -
meta
-
addressesLength
final long addressesLength
-
-
Constructor Details
-
FieldEntry
FieldEntry(IndexInput input, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction) throws IOException - Throws:
IOException
-
-
Method Details
-
size
int size() -
ramBytesUsed
public long ramBytesUsed()Description copied from interface:Accountable
Return the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsed
in interfaceAccountable
-