All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.graphglue.data.LazyLoadingContext.kt Maven / Gradle / Ivy

package io.github.graphglue.data

import io.github.graphglue.data.execution.NodeQueryEngine
import io.github.graphglue.data.execution.NodeQueryParser

/**
 * Context used to lazily load nodes
 *
 * @param nodeQueryParser used to generate the Cypher query
 * @param nodeQueryEngine used to execute the Cypher query
 */
class LazyLoadingContext(
    val nodeQueryParser: NodeQueryParser,
    val nodeQueryEngine: NodeQueryEngine
) {
    /**
     * used to access node definitions
     */
    val nodeDefinitionCollection = nodeQueryParser.nodeDefinitionCollection
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy