abstract class ComparableFilterDefinition(name: String, description: String, typeName: String, scalarType: GraphQLInputType, neo4jName: String, nullable: Boolean, entries: List<ScalarFilterEntryBase>) : ScalarFilterDefinition

Filter for a comparable scalar property (e.g. Int, String, ...). Defines a list of fields how the property can be filtered (e.g. eq, in, startsWith, ...). If multiple fields are provided, these are joined by AND Already defines eq, in, lt, lte, gt and gte entries

Parameters

name

the name of the field on the GraphQLInputObjectType

description

the description of the object type

typeName

name of the constructed GraphQLInputType which serves as input for the filter

scalarType

the GraphQLInputType for the field inputs (e.g. for eq, startsWith, ...)

neo4jName

the name of the property of the node in the database (might be different from name)

nullable

if true, the scalar is nullable, otherwise it is non-nullable

entries

additional fields of this filter, define how the property can be filtered (e.g. startsWith, ...)

Inheritors

Constructors

Link copied to clipboard
constructor(name: String, description: String, typeName: String, scalarType: GraphQLInputType, neo4jName: String, nullable: Boolean, entries: List<ScalarFilterEntryBase>)

Properties

Link copied to clipboard
Link copied to clipboard

Fields associated by name

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun parseEntry(value: Any?, permission: Permission?): FilterEntry

Parses the entry of the provided filter

Link copied to clipboard
open override fun toGraphQLType(inputTypeCache: CacheMap<String, GraphQLInputType>): GraphQLInputType

Transforms this into a GraphQLInputType