abstract class ScalarFilterEntryBase(val name: String, val description: String, val conditionGenerator: (property: Property, value: Parameter<*>) -> Condition)

Base class for scalar filter entries Can be used to define filters for a scalar property, e.g. an in or eq filter

Parameters

name

the name of the field on the GraphQLInputObjectType

description

the description of the field

conditionGenerator

used to generate the condition which applies the filter in the database

Inheritors

Constructors

Link copied to clipboard
constructor(name: String, description: String, conditionGenerator: (property: Property, value: Parameter<*>) -> Condition)

Properties

Link copied to clipboard
val conditionGenerator: (property: Property, value: Parameter<*>) -> Condition
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun generateFilterEntry(scalarType: GraphQLInputType, neo4jName: String): FilterEntryDefinition

Generates the FilterEntryDefinition used in the filter