public abstract static class IncrementallyUpdatedFilterPredicate.ValueInspector extends Object implements IncrementallyUpdatedFilterPredicate
It is stateful, and needs to be rest after use.
IncrementallyUpdatedFilterPredicate.And, IncrementallyUpdatedFilterPredicate.BinaryLogical, IncrementallyUpdatedFilterPredicate.DelegatingValueInspector, IncrementallyUpdatedFilterPredicate.Or, IncrementallyUpdatedFilterPredicate.ValueInspector, IncrementallyUpdatedFilterPredicate.Visitor| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(IncrementallyUpdatedFilterPredicate.Visitor visitor)
A
IncrementallyUpdatedFilterPredicate must accept a IncrementallyUpdatedFilterPredicate.Visitor, per the visitor pattern. |
boolean |
getResult()
Should only be called if
isKnown return true. |
boolean |
isKnown()
Return true if this inspector has received a value yet, false otherwise.
|
void |
reset()
Reset to clear state and begin evaluating the next record.
|
protected void |
setResult(boolean result)
Subclasses should call this method to signal that the result of this predicate is known.
|
void |
update(Binary value) |
void |
update(boolean value) |
void |
update(double value) |
void |
update(float value) |
void |
update(int value) |
void |
update(long value) |
void |
updateNull() |
public void updateNull()
public void update(int value)
public void update(long value)
public void update(double value)
public void update(float value)
public void update(boolean value)
public void update(Binary value)
public void reset()
protected final void setResult(boolean result)
result - the result of this predicate, when it is determinedpublic final boolean getResult()
isKnown return true.public final boolean isKnown()
public boolean accept(IncrementallyUpdatedFilterPredicate.Visitor visitor)
IncrementallyUpdatedFilterPredicateIncrementallyUpdatedFilterPredicate must accept a IncrementallyUpdatedFilterPredicate.Visitor, per the visitor pattern.accept in interface IncrementallyUpdatedFilterPredicatevisitor - a VisitorCopyright © 2024 The Apache Software Foundation. All rights reserved.