Class Lucene95HnswVectorsReader.FieldEntry
- java.lang.Object
-
- org.apache.lucene.backward_codecs.lucene95.Lucene95HnswVectorsReader.FieldEntry
-
- All Implemented Interfaces:
Accountable
- Enclosing class:
- Lucene95HnswVectorsReader
static class Lucene95HnswVectorsReader.FieldEntry extends java.lang.Object implements Accountable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
dimension
(package private) int
M
(package private) int[][]
nodesByLevel
(package private) int
numLevels
(package private) int
offsetsBlockShift
(package private) long
offsetsLength
(package private) DirectMonotonicReader.Meta
offsetsMeta
(package private) long
offsetsOffset
(package private) OrdToDocDISIReaderConfiguration
ordToDocVectorValues
private static long
SHALLOW_SIZE
(package private) VectorSimilarityFunction
similarityFunction
(package private) int
size
(package private) long
vectorDataLength
(package private) long
vectorDataOffset
(package private) VectorEncoding
vectorEncoding
(package private) long
vectorIndexLength
(package private) long
vectorIndexOffset
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Constructor Summary
Constructors Constructor Description FieldEntry(IndexInput input, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
ramBytesUsed()
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 Detail
-
SHALLOW_SIZE
private static final long SHALLOW_SIZE
-
similarityFunction
final VectorSimilarityFunction similarityFunction
-
vectorEncoding
final VectorEncoding 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
final DirectMonotonicReader.Meta offsetsMeta
-
offsetsOffset
final long offsetsOffset
-
offsetsBlockShift
final int offsetsBlockShift
-
offsetsLength
final long offsetsLength
-
ordToDocVectorValues
OrdToDocDISIReaderConfiguration ordToDocVectorValues
-
-
Constructor Detail
-
FieldEntry
FieldEntry(IndexInput input, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
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
-
-