Query

data class Query(val nodes: Set<String>, val relationships: Set<Query.Relationship>, val properties: Set<Query.Property>, val mutatedProperties: Set<Query.MutatedProperty>, val removedProperties: Set<Query.RemovedProperty>, val entities: Map<String, Set<String>>)

A Cypher Query.

Constructors

Link copied to clipboard
constructor(nodes: Set<String>, relationships: Set<Query.Relationship>, properties: Set<Query.Property>, mutatedProperties: Set<Query.MutatedProperty>, removedProperties: Set<Query.RemovedProperty>, entities: Map<String, Set<String>>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class MutatedProperty(val owner: String, val properties: String) : Query.Owned<Query.MutatedProperty>

A MutatedProperty of the owner with the properties.

Link copied to clipboard
sealed interface Owned<T>

An Owned entity/operation/expression has an owner.

Link copied to clipboard
data class Property(val owner: String?, val name: String, val values: Set<Query.Property.Type>)

A Property of the owner with the name and values.

Link copied to clipboard
data class Relationship(val label: String, val sources: Collection<String>?, val targets: Collection<String>?)

A Relationship with the label from the sources to the targets.

Link copied to clipboard
data class RemovedProperty(val owner: String, val property: String) : Query.Owned<Query.RemovedProperty>

A property REMOVEd from the owner.

Properties

Link copied to clipboard

a map of symbolic name to entity labels

Link copied to clipboard

the mutated properties in the Query

Link copied to clipboard

the node labels in the Query

Link copied to clipboard

the properties in the Query

Link copied to clipboard

the relationships in the Query

Link copied to clipboard

the removed properties in the Query