Package io.github.jbellis.jvector.graph
Class HazelcastGraphIndexView
java.lang.Object
io.github.jbellis.jvector.graph.HazelcastGraphIndexView
- All Implemented Interfaces:
io.github.jbellis.jvector.graph.GraphIndex.View<float[]>
,AutoCloseable
public class HazelcastGraphIndexView
extends Object
implements io.github.jbellis.jvector.graph.GraphIndex.View<float[]>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static HazelcastGraphIndexView
create
(io.github.jbellis.jvector.graph.OnHeapGraphIndex<float[]> index) int
int
io.github.jbellis.jvector.graph.NodesIterator
getNeighborsIterator
(int node) float[]
getVector
(int node) io.github.jbellis.jvector.util.Bits
int
size()
toString()
-
Method Details
-
create
public static HazelcastGraphIndexView create(io.github.jbellis.jvector.graph.OnHeapGraphIndex<float[]> index) -
getVector
public float[] getVector(int node) - Specified by:
getVector
in interfaceio.github.jbellis.jvector.graph.GraphIndex.View<float[]>
-
getNeighborsIterator
public io.github.jbellis.jvector.graph.NodesIterator getNeighborsIterator(int node) - Specified by:
getNeighborsIterator
in interfaceio.github.jbellis.jvector.graph.GraphIndex.View<float[]>
-
size
public int size()- Specified by:
size
in interfaceio.github.jbellis.jvector.graph.GraphIndex.View<float[]>
-
entryNode
public int entryNode()- Specified by:
entryNode
in interfaceio.github.jbellis.jvector.graph.GraphIndex.View<float[]>
-
toString
-
liveNodes
public io.github.jbellis.jvector.util.Bits liveNodes()- Specified by:
liveNodes
in interfaceio.github.jbellis.jvector.graph.GraphIndex.View<float[]>
-
getIdUpperBound
public int getIdUpperBound()- Specified by:
getIdUpperBound
in interfaceio.github.jbellis.jvector.graph.GraphIndex.View<float[]>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-