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

io.github.graphglue.data.execution.NodeQuery.kt Maven / Gradle / Ivy

Go to download

A library to develop annotation-based code-first GraphQL servers using GraphQL Kotlin, Spring Boot and Neo4j - excluding Spring GraphQL server dependencies

The newest version!
package io.github.graphglue.data.execution

import io.github.graphglue.definition.NodeDefinition
import io.github.graphglue.model.Node

/**
 * Defines a query which fetches Nodes of type `definition`
 *
 * @param definition defines which type of [Node] is fetched
 * @param options options for the query, e.g. pagination
 * @param parts subqueries partitioned into parts
 */
class NodeQuery(
    definition: NodeDefinition,
    val options: NodeQueryOptions,
    parts: Map
) : QueryBase(definition, parts) {

    override fun copyWithParts(parts: Map): NodeQuery {
        return NodeQuery(definition, options, parts)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy