protected abstract static class ScanningQueryEngine.DynamicOperandFilter extends Object implements NodeSequence.RowFilter
DynamicOperand against the current row in a NodeSequence.Batch and returning the
corresponding value.| Modifier | Constructor and Description |
|---|---|
protected |
ScanningQueryEngine.DynamicOperandFilter(RowExtractors.ExtractFromRow extractor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
evaluate(Object leftHandValue)
Determine whether the left hand side of the expression (as computed by the dynamic operation) will result in this row
being included in the results.
|
boolean |
isCurrentRowValid(NodeSequence.Batch batch)
Determine if the current row in the given batch satisfies the filter and should be included in the results.
|
protected ScanningQueryEngine.DynamicOperandFilter(RowExtractors.ExtractFromRow extractor)
public boolean isCurrentRowValid(NodeSequence.Batch batch)
NodeSequence.RowFilter
Implementations should never call NodeSequence.Batch.hasNext() or NodeSequence.Batch.nextRow().
isCurrentRowValid in interface NodeSequence.RowFilterbatch - the batch that is at a valid rowprotected abstract boolean evaluate(Object leftHandValue)
leftHandValue - the left hand side of the current row; may be nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.