public class IntersectSequence extends AbstractNodeKeysSequence
AbstractNodeKeysSequence
implementation which performs an INTERSECT operation between 2 other sequences,
keeping only instances which have the same unique value in both sequences.Modifier and Type | Class and Description |
---|---|
protected class |
IntersectSequence.IntersectBatch
A batch implementation which wraps the left batch, but return rows from the matching keys from the right.
|
NodeSequence.AlternateSizeBatch, NodeSequence.Batch, NodeSequence.LimitBatch, NodeSequence.MultiWidthBatch, NodeSequence.Restartable, NodeSequence.RowAccessor, NodeSequence.RowFilter, NodeSequence.SingleWidthBatch
leftSequence, totalWidth
buffer, cache, extractor, logger, remainingRowCount, rowFactory, rowsLeftInBatch, trace, width, workspaceName
delegate
LOGGER, NO_PASS_ROW_FILTER, PASS_ROW_FILTER
Constructor and Description |
---|
IntersectSequence(String workspaceName,
NodeSequence leftSequence,
NodeSequence rightSequence,
TypeSystem types,
BufferManager bufferMgr,
CachedNodeSupplier nodeCache,
boolean pack,
boolean useHeap) |
Modifier and Type | Method and Description |
---|---|
protected NodeSequence.Batch |
batchWrapper(NodeSequence.Batch leftBatch) |
String |
toString() |
keyInLeftRow, matchingRightRows, nextBatch, width
batchFrom, close, createRow, isEmpty, loadAll, rowCount
getRowCount
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
public IntersectSequence(String workspaceName, NodeSequence leftSequence, NodeSequence rightSequence, TypeSystem types, BufferManager bufferMgr, CachedNodeSupplier nodeCache, boolean pack, boolean useHeap)
protected NodeSequence.Batch batchWrapper(NodeSequence.Batch leftBatch)
batchWrapper
in class AbstractNodeKeysSequence
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.