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, slice, slicingBatch, withBatch, withBatches, withBatches, withNode, withNodeKeys, withNodeKeys, withNodeKeys, withNodeKeys, withNodes, withNodes
protected 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()
NodeSequence
getRowCount
in class NodeSequence
public int width()
NodeSequence
width
in class NodeSequence
public boolean isEmpty()
NodeSequence
isEmpty
in class NodeSequence
public NodeSequence.Batch nextBatch()
NodeSequence
NodeKey
instances.nextBatch
in class NodeSequence
protected void initialize()
public void close()
NodeSequence
close
in class NodeSequence
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.