HasElement

data class HasElement(val key: String, val value: Any) : PropertyFilter

Element membership in a collection-valued property: value in propertieskey.

The inverse direction of In: where In tests a scalar property against a given list of values, HasElement tests a given value against a LIST property (e.g. a visibleTo array of principal ids on a node). A missing key or a non-collection property does not match.

Constructors

Link copied to clipboard
constructor(key: String, value: Any)

Properties

Link copied to clipboard
val key: String
Link copied to clipboard
val value: Any

Functions

Link copied to clipboard
open infix fun and(other: PropertyFilter): PropertyFilter

Logical AND infix: filter1 and filter2

Link copied to clipboard
open operator fun not(): PropertyFilter

Logical NOT operator: !filter

Link copied to clipboard
open infix fun or(other: PropertyFilter): PropertyFilter

Logical OR infix: filter1 or filter2