Class FVecReader

java.lang.Object
io.nosqlbench.virtdata.library.ivecfvec.FVecReader
All Implemented Interfaces:
LongFunction<float[]>

public class FVecReader extends Object implements LongFunction<float[]>
Reads ivec files with random access, using the input to specify the record number.
  • Constructor Details

    • FVecReader

      public FVecReader(String pathname)
    • FVecReader

      public FVecReader(String pathname, int expectedDimensions, int recordLimit)
  • Method Details

    • apply

      public float[] apply(long value)
      Specified by:
      apply in interface LongFunction<float[]>