Interface RandomAccessVectorValuesProducer

All Known Implementing Classes:
Lucene90HnswVectorsReader.OffHeapVectorValues, Lucene91HnswVectorsReader.OffHeapVectorValues, OffHeapVectorValues, OffHeapVectorValues.DenseOffHeapVectorValues, OffHeapVectorValues.EmptyOffHeapVectorValues, OffHeapVectorValues.SparseOffHeapVectorValues, SimpleTextKnnVectorsReader.SimpleTextVectorValues, VectorValuesWriter.BufferedVectorValues, VectorValuesWriter.SortingVectorValues

public interface RandomAccessVectorValuesProducer
Something (generally a VectorValues) that provides a RandomAccessVectorValues.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a random access interface over this iterator's vectors.
  • Method Details

    • randomAccess

      RandomAccessVectorValues randomAccess() throws IOException
      Return a random access interface over this iterator's vectors. Calling the RandomAccess methods will have no effect on the progress of the iteration or the values returned by this iterator. Successive calls will retrieve independent copies that do not overwrite each others' returned values.
      Throws:
      IOException