java.lang.Object
org.apache.lucene.codecs.KnnFieldVectorsWriter<T>
org.apache.lucene.codecs.hnsw.FlatFieldVectorsWriter<T>
- Type Parameters:
T- an array type; the type of vectors to be written
- All Implemented Interfaces:
Accountable
- Direct Known Subclasses:
Lucene99FlatVectorsWriter.FieldWriter,Lucene99ScalarQuantizedVectorsWriter.FieldWriter
Vectors' writer for a field
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final KnnFieldVectorsWriter<T> The delegate to write to, can be null When non-null, all vectors seen should be written to the delegate along with being written to the flat vectors.Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFlatFieldVectorsWriter(KnnFieldVectorsWriter<T> indexingDelegate) Sole constructor that expects some indexingDelegate. -
Method Summary
Methods inherited from class org.apache.lucene.codecs.KnnFieldVectorsWriter
addValue, copyValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsed
-
Field Details
-
indexingDelegate
The delegate to write to, can be null When non-null, all vectors seen should be written to the delegate along with being written to the flat vectors.
-
-
Constructor Details
-
FlatFieldVectorsWriter
Sole constructor that expects some indexingDelegate. All vectors seen should be written to the delegate along with being written to the flat vectors.- Parameters:
indexingDelegate- the delegate to write to, can be null
-