GraphQueryExecutor
org.llm4s.knowledgegraph.query.GraphQueryExecutor
Executes GraphQuery operations against a GraphStore.
This component bridges the structured query ADT with the engine-agnostic storage layer, translating each query variant into the appropriate GraphStore and GraphEngine calls.
Value parameters
- graphStore
-
The graph store to query against
Attributes
- Example
-
val executor = new GraphQueryExecutor(graphStore) val query = GraphQuery.FindNodes(label = Some("Person")) val result = executor.execute(query) // result: Right(GraphQueryResult(nodes = Seq(...), edges = Seq(...))) - Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article