Class FlatFieldVectorsWriter<T>

java.lang.Object
org.apache.lucene.codecs.KnnFieldVectorsWriter<T>
org.apache.lucene.codecs.FlatFieldVectorsWriter<T>
Type Parameters:
T - an array type; the type of vectors to be written
All Implemented Interfaces:
Accountable

public abstract class FlatFieldVectorsWriter<T> extends KnnFieldVectorsWriter<T>
Vectors' writer for a field
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • Field Details

    • indexingDelegate

      protected final KnnFieldVectorsWriter<T> 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

      protected FlatFieldVectorsWriter(KnnFieldVectorsWriter<T> indexingDelegate)
      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