Module org.apache.lucene.core
Class Lucene99FlatVectorsReader.FieldEntry
java.lang.Object
org.apache.lucene.codecs.lucene99.Lucene99FlatVectorsReader.FieldEntry
- All Implemented Interfaces:
Accountable
- Enclosing class:
- Lucene99FlatVectorsReader
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int
(package private) final OrdToDocDISIReaderConfiguration
private static final long
(package private) final VectorSimilarityFunction
(package private) final int
(package private) final long
(package private) final long
(package private) final VectorEncoding
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.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
-
dimension
final int dimension -
vectorDataOffset
final long vectorDataOffset -
vectorDataLength
final long vectorDataLength -
size
final int size -
ordToDoc
-
-
Constructor Details
-
FieldEntry
FieldEntry(IndexInput input, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction) throws IOException - Throws:
IOException
-
-
Method Details
-
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
-