Module org.apache.lucene.core
Class Lucene99ScalarQuantizedVectorsReader.FieldEntry
- java.lang.Object
-
- org.apache.lucene.codecs.lucene99.Lucene99ScalarQuantizedVectorsReader.FieldEntry
-
- All Implemented Interfaces:
Accountable
- Enclosing class:
- Lucene99ScalarQuantizedVectorsReader
private static class Lucene99ScalarQuantizedVectorsReader.FieldEntry extends java.lang.Object implements Accountable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte
bits
(package private) boolean
compress
(package private) int
dimension
(package private) OrdToDocDISIReaderConfiguration
ordToDoc
(package private) ScalarQuantizer
scalarQuantizer
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
-
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
-
Constructor Summary
Constructors Constructor Description FieldEntry(IndexInput input, int versionMeta, 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.-
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
-
dimension
final int dimension
-
vectorDataOffset
final long vectorDataOffset
-
vectorDataLength
final long vectorDataLength
-
scalarQuantizer
final ScalarQuantizer scalarQuantizer
-
size
final int size
-
bits
final byte bits
-
compress
final boolean compress
-
ordToDoc
final OrdToDocDISIReaderConfiguration ordToDoc
-
-
Constructor Detail
-
FieldEntry
FieldEntry(IndexInput input, int versionMeta, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
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
-
-