Class CompactionVectorValues
java.lang.Object
org.apache.cassandra.index.sai.disk.v1.vector.CompactionVectorValues
- All Implemented Interfaces:
io.github.jbellis.jvector.graph.RandomAccessVectorValues<float[]>,RamAwareVectorValues
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongadd(int ordinal, ByteBuffer value) return approximate bytes used by the new vectorcopy()intbooleanintsize()float[]vectorValue(int i) longwrite(SequentialWriter writer)
-
Constructor Details
-
CompactionVectorValues
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceio.github.jbellis.jvector.graph.RandomAccessVectorValues<float[]>
-
dimension
public int dimension()- Specified by:
dimensionin interfaceio.github.jbellis.jvector.graph.RandomAccessVectorValues<float[]>
-
vectorValue
public float[] vectorValue(int i) - Specified by:
vectorValuein interfaceRamAwareVectorValues- Specified by:
vectorValuein interfaceio.github.jbellis.jvector.graph.RandomAccessVectorValues<float[]>
-
add
return approximate bytes used by the new vector -
copy
- Specified by:
copyin interfaceio.github.jbellis.jvector.graph.RandomAccessVectorValues<float[]>
-
write
- Throws:
IOException
-