Package com.apple.foundationdb.record.query.predicates
Implementations of query predicates
Like QueryComponent
s,
QueryPredicate
s represent (tri-valued) Boolean expressions
on records. While they are generally similar, there are a few significant differences between the two interfaces,
especially in how they handle predicates on repeated fields.
- See Also:
for more details
-
Interface Summary Interface Description PredicateWithValue A predicate consisting of aValue
.QueryPredicate Class to model the concept of a predicate.Value A scalar value type. -
Class Summary Class Description AndOrPredicate Common base class for predicates with many children, such asAndPredicate
andOrPredicate
.AndPredicate AQueryPredicate
that is satisfied when all of its child components are; For tri-valued logic: If all children aretrue
, thentrue
. If any child isfalse
, thenfalse
. Elsenull
.BaseValue A value representing the quantifier as an object.ConstantPredicate A predicate with a constant boolean value.ExistsPredicate An existential predicate that is true if the inner correlation produces any values, and false otherwise.FieldValue A value representing the contents of a (non-repeated, arbitrarily-nested) field of a quantifier.LiteralValue<T> A wrapper around a literal of the given type.NotPredicate AQueryPredicate
that is satisfied when its child component is not satisfied.OrPredicate AQueryPredicate
that is satisfied when any of its child components is satisfied.QuantifiedColumnValue A value representing the quantifier as an object.QuantifiedObjectValue A value representing the quantifier as an object.QueryComponentPredicate AQueryPredicate
that is satisfied when its child component is satisfied.RecordTypeValue A value which is unique for each record type produced by its quantifier.ValueComparisonRangePredicate A special predicate used to represent a parameterized tuple range.ValueComparisonRangePredicate.Placeholder A place holder predicate solely used for index matching.ValueComparisonRangePredicate.Sargable A query predicate that can be used as a (s)earch (arg)ument for an index scan.ValuePredicate A predicate consisting of aValue
and aComparisons.Comparison
.VersionValue A value representing a version stamp.