Interface IncrementallyUpdatedFilterPredicate
- All Known Implementing Classes:
IncrementallyUpdatedFilterPredicate.And,IncrementallyUpdatedFilterPredicate.BinaryLogical,IncrementallyUpdatedFilterPredicate.DelegatingValueInspector,IncrementallyUpdatedFilterPredicate.Or,IncrementallyUpdatedFilterPredicate.ValueInspector
public interface IncrementallyUpdatedFilterPredicate
A rewritten version of a
FilterPredicate 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 is
FilterPredicate
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic classstatic classA ValueInspector implementation that keeps state for one or more delegate inspectors.static final classstatic classThis is the leaf node of a filter predicate.static interfaceA Visitor for anIncrementallyUpdatedFilterPredicate, per the visitor pattern. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAIncrementallyUpdatedFilterPredicatemust accept aIncrementallyUpdatedFilterPredicate.Visitor, per the visitor pattern.
-
Method Details
-
accept
AIncrementallyUpdatedFilterPredicatemust accept aIncrementallyUpdatedFilterPredicate.Visitor, per the visitor pattern.- Parameters:
visitor- a Visitor- Returns:
- the result of this predicate
-