Types

Link copied to clipboard

NodeRelationshipFilterEntry where all of the nodes have to match the filter

Link copied to clipboard
class AndMetaFilter(definition: AndMetaFilterDefinition, val subNodeFilters: List<NodeFilter>) : MetaFilter

MetaFilter which joins several NodeFilters by AND

Link copied to clipboard

NodeRelationshipFilterEntry where any of the nodes have to match the filter

Link copied to clipboard
data class Filter(val nodeFilter: NodeFilter) : CypherConditionGenerator

Parsed version of an overall filter

Link copied to clipboard

Entry in a filter

Link copied to clipboard
abstract class MetaFilter(definition: MetaFilterDefinition) : FilterEntry

Aggregate filter which can be used to join NodeFilters by AND, OR and NOT

Link copied to clipboard
data class NodeFilter(val entries: List<CypherConditionGenerator> = emptyList()) : CypherConditionGenerator

Filter for a specific type of node Filters instances of this type by applying a list of filter entries joined by AND

Link copied to clipboard
abstract class NodeRelationshipFilterEntry(val subFilterDefinition: NodeSubFilterDefinition, val filter: NodeSubFilter, val permission: Permission?) : FilterEntry

FilterEntry used to filter when the entry is a set can be used for filters where either all, any or none of the elements of the set have to match a filter Automatically includes a condition which checks that the filter does not include any nodes which the provided Permission (if provided) does not allow to access. This prevents information leakage using filters. Without this, it would be possible to get information of related nodes by brute-forcing different filters (e.g. getting one character of a name at a time by checking if the related node is still returned).

Link copied to clipboard
class NodeSubFilter(definition: NodeSubFilterDefinition, val filter: Filter) : FilterEntry

FilterEntry which allows using a Filter to generate the condition

Link copied to clipboard

NodeRelationshipFilterEntry where none of the nodes have to match the filter

Link copied to clipboard
class NotMetaFilter(definition: NotMetaFilterDefinition, val subNodeFilter: NodeFilter) : MetaFilter

MetaFilter which negates a single NodeFilter

Link copied to clipboard
class OrMetaFilter(definition: OrMetaFilterDefinition, val subNodeFilters: List<NodeFilter>) : MetaFilter

MetaFilter which joins several NodeFilters by OR

Link copied to clipboard
class SimpleFilterEntry(val simpleDefinition: SimpleFilterEntryDefinition, val value: Any) : FilterEntry

Simple FilterEntry where the condition generation is only defined by the definition, and a provided value

Link copied to clipboard
open class SimpleObjectFilter(definition: FilterEntryDefinition, val entries: List<FilterEntry>) : FilterEntry

FilterEntry which is defined by a FilterEntryDefinition and joins a list of entries by AND

Link copied to clipboard
class SubtypeNodeFilter(val subtypeFilterDefinition: SubtypeNodeFilterDefinition, val filter: Filter) : FilterEntry

Filter entry for a specific subtype for a node Creates a combined condition of the type and the condition generated by filter