GraphQueryExecutor

org.llm4s.knowledgegraph.query.GraphQueryExecutor
class GraphQueryExecutor(graphStore: GraphStore)

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

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Executes a graph query and returns the result.

Executes a graph query and returns the result.

Value parameters

query

The structured graph query to execute

Attributes

Returns

Right(result) on success, Left(error) on failure