GraphPage

org.llm4s.knowledgegraph.storage.GraphPage
final case class GraphPage(graph: Graph, next: Option[String])

One page of a paged read (GraphStore.queryPage, GraphStore.loadPage): at most limit nodes, in node id order, with their outgoing edges whose target is also in the result (#2976). An edge's target may be on another page, so a page on its own may not pass Graph.validate; merging every page (Graph.merge) gives the whole result.

Value parameters

graph

The page's nodes and their outgoing edges

next

The cursor for the next page, the id of this page's last node; None on the last page

Attributes

Source
GraphStore.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product