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 Details

    • create

      public static HazelcastGraphIndexView create(io.github.jbellis.jvector.graph.OnHeapGraphIndex<float[]> index)
    • getVector

      public float[] getVector(int node)
      Specified by:
      getVector in interface io.github.jbellis.jvector.graph.GraphIndex.View<float[]>
    • getNeighborsIterator

      public io.github.jbellis.jvector.graph.NodesIterator getNeighborsIterator(int node)
      Specified by:
      getNeighborsIterator in interface io.github.jbellis.jvector.graph.GraphIndex.View<float[]>
    • size

      public int size()
      Specified by:
      size in interface io.github.jbellis.jvector.graph.GraphIndex.View<float[]>
    • entryNode

      public int entryNode()
      Specified by:
      entryNode in interface io.github.jbellis.jvector.graph.GraphIndex.View<float[]>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • liveNodes

      public io.github.jbellis.jvector.util.Bits liveNodes()
      Specified by:
      liveNodes in interface io.github.jbellis.jvector.graph.GraphIndex.View<float[]>
    • getIdUpperBound

      public int getIdUpperBound()
      Specified by:
      getIdUpperBound in interface io.github.jbellis.jvector.graph.GraphIndex.View<float[]>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable