public class DependentQuery extends NodeSequence
NodeSequence.AlternateSizeBatch, NodeSequence.Batch, NodeSequence.LimitBatch, NodeSequence.MultiWidthBatch, NodeSequence.Restartable, NodeSequence.RowAccessor, NodeSequence.RowFilter, NodeSequence.SingleWidthBatch| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
logger |
LOGGER, NO_PASS_ROW_FILTER, PASS_ROW_FILTER| Constructor and Description |
|---|
DependentQuery(NodeSequence independentQuery,
RowExtractors.ExtractFromRow independentQueryValueExtractor,
TypeSystem.TypeFactory<?> expectedType,
NodeSequence dependentQuery,
String variableName,
Map<String,Object> variables) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Signal that this node sequence is no longer needed.
|
long |
getRowCount()
Get the number of rows in this sequence.
|
protected void |
initialize() |
boolean |
isEmpty()
Determine whether this results is known to be empty.
|
NodeSequence.Batch |
nextBatch()
Get the next batch of
NodeKey instances. |
int |
width()
Get the number of nodes in each row.
|
append, batchFilteredWith, batchOf, batchOf, batchOf, batchOfKeys, batchOfKeys, batchOfKeys, batchOfKeys, batchWithCount, copy, emptyBatch, emptySequence, filter, keyFor, limit, limit, merging, requireBoth, requireEither, skip, withBatch, withBatches, withBatches, withNode, withNodeKeys, withNodeKeys, withNodeKeys, withNodeKeys, withNodes, withNodesprotected static final Logger logger
public DependentQuery(NodeSequence independentQuery, RowExtractors.ExtractFromRow independentQueryValueExtractor, TypeSystem.TypeFactory<?> expectedType, NodeSequence dependentQuery, String variableName, Map<String,Object> variables)
public long getRowCount()
NodeSequencegetRowCount in class NodeSequencepublic int width()
NodeSequencewidth in class NodeSequencepublic boolean isEmpty()
NodeSequenceisEmpty in class NodeSequencepublic NodeSequence.Batch nextBatch()
NodeSequenceNodeKey instances.nextBatch in class NodeSequenceprotected void initialize()
public void close()
NodeSequenceclose in class NodeSequenceCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.