Interface IncrementallyUpdatedFilterPredicate
-
- All Known Implementing Classes:
IncrementallyUpdatedFilterPredicate.And
,IncrementallyUpdatedFilterPredicate.BinaryLogical
,IncrementallyUpdatedFilterPredicate.Or
,IncrementallyUpdatedFilterPredicate.ValueInspector
public interface IncrementallyUpdatedFilterPredicate
A rewritten version of aFilterPredicate
which receives the values for a record's columns one by one and internally tracks whether the predicate is satisfied, unsatisfied, or unknown. This is used to apply a predicate during record assembly, without assembling a second copy of a record, and without building a stack of update events. IncrementallyUpdatedFilterPredicate is implemented via the visitor pattern, as isFilterPredicate
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IncrementallyUpdatedFilterPredicate.And
static class
IncrementallyUpdatedFilterPredicate.BinaryLogical
static class
IncrementallyUpdatedFilterPredicate.Or
static class
IncrementallyUpdatedFilterPredicate.ValueInspector
This is the leaf node of a filter predicate.static interface
IncrementallyUpdatedFilterPredicate.Visitor
A Visitor for anIncrementallyUpdatedFilterPredicate
, per the visitor pattern.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(IncrementallyUpdatedFilterPredicate.Visitor visitor)
AIncrementallyUpdatedFilterPredicate
must accept aIncrementallyUpdatedFilterPredicate.Visitor
, per the visitor pattern.
-
-
-
Method Detail
-
accept
boolean accept(IncrementallyUpdatedFilterPredicate.Visitor visitor)
AIncrementallyUpdatedFilterPredicate
must accept aIncrementallyUpdatedFilterPredicate.Visitor
, per the visitor pattern.- Parameters:
visitor
- a Visitor- Returns:
- the result of this predicate
-
-