class SimpleFilterEntryDefinition(name: String, description: String, val type: GraphQLInputType, val neo4jName: String, val conditionGenerator: (property: Property, value: Parameter<*>) -> Condition) : FilterEntryDefinition
Definition for a single filter entry which filters by a Neo4j property using a conditionGenerator to generate the condition.
Parameters
name
the name of the field on the GraphQLInputObjectType
description
the description of the field
type
the field type in the GraphQL schema, should require no additional parsing (e.g. String, Int, ...)
neo4jName
the name of the property on the node in the database (might be different from name)
conditionGenerator
used to generate the condition which is used in the database, takes the property and the parameter as input
Functions
Link copied to clipboard
Generates the condition based of the provided Node Uses conditionGenerator to generate the condition
Link copied to clipboard
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