Class ExpandingVectorValues


public class ExpandingVectorValues extends FilterVectorValues
reads from byte-encoded data
  • Field Details

    • value

      private final float[] value
  • Constructor Details

    • ExpandingVectorValues

      protected ExpandingVectorValues(VectorValues in)
      Parameters:
      in - the wrapped values
  • Method Details

    • vectorValue

      public float[] vectorValue() throws IOException
      Description copied from class: VectorValues
      Return the vector value for the current document ID. It is illegal to call this method when the iterator is not positioned: before advancing, or after failing to advance. The returned array may be shared across calls, re-used, and modified as the iterator advances.
      Overrides:
      vectorValue in class FilterVectorValues
      Returns:
      the vector value
      Throws:
      IOException