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

There is a newer version: 7.0.5
Show 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 entries parts of the query to execute with this query
 */
class NodeQuery(
    definition: NodeDefinition,
    val options: NodeQueryOptions,
    entries: List>
) : QueryBase(definition, entries) {

    override fun copyWithEntries(entries: List>): NodeQuery {
        return NodeQuery(definition, options, entries)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy