Compare

data class Compare(val path: CatalogPath, val operator: Comparison, val value: QueryValue) : Predicate

Some value at path compares operator against value.

Constructors

Link copied to clipboard
constructor(path: CatalogPath, operator: Comparison, value: QueryValue)

Properties

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

Functions

Link copied to clipboard
infix fun Predicate.and(other: Predicate): Predicate

Both hold.

Link copied to clipboard
infix fun Predicate.or(other: Predicate): Predicate

Either holds.

Link copied to clipboard

Every path this predicate mentions of the document, deduplicated, in the order first seen.