Module org.apache.lucene.core
Class Lucene99HnswVectorsReader.FieldEntry
java.lang.Object
org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsReader.FieldEntry
- All Implemented Interfaces:
Accountable
- Enclosing class:
- Lucene99HnswVectorsReader
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int
(package private) final int
(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 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
-
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
-
-
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
-