class NodeQueryEngine(val configurationProperties: GraphglueCoreConfigurationProperties, val client: ReactiveNeo4jClient, val mappingContext: Neo4jMappingContext, val renderer: Renderer)

Engine for executing NodeQuerys

Parameters

configurationProperties

the configuration properties, used for getting the maximum cost of a query

client

the neo4j client used to execute the queries

mappingContext

the neo4j mapping context used to map the results

renderer

the renderer used to render the queries

Constructors

Link copied to clipboard
constructor(configurationProperties: GraphglueCoreConfigurationProperties, client: ReactiveNeo4jClient, mappingContext: Neo4jMappingContext, renderer: Renderer)

Types

Link copied to clipboard
private inner class NodeQueryEngineInstance

Instance of the query engine, used for executing a single query

Properties

Link copied to clipboard
private val client: ReactiveNeo4jClient
Link copied to clipboard
private val mappingContext: Neo4jMappingContext
Link copied to clipboard
private val renderer: Renderer

Functions

Link copied to clipboard
suspend fun execute(query: NodeQuery): NodeQueryResult<*>
suspend fun execute(query: SearchQuery): SearchQueryResult<*>

Executes the given query May perform multiple requests to the database if the query is too complex.

suspend fun execute(query: PartialNodeQuery, nodes: Collection<Node>)

Executes the given query May perform multiple requests to the database if the query is too complex. Does not provide any results, instead results are directly registered in the affected nodes