protected class HashJoinSequence.HashJoinBatch extends Object implements NodeSequence.Batch
| Modifier | Constructor and Description |
|---|---|
protected |
HashJoinBatch(NodeSequence.Batch currentLeft) |
| Modifier and Type | Method and Description |
|---|---|
CachedNode |
getNode()
Get the first node in the current row.
|
CachedNode |
getNode(int index)
Get the node at the specified index in the current row.
|
protected Iterator<BufferedRows.BufferedRow> |
getRightRowsFor(Object leftValue) |
float |
getScore()
Get the score for the first node in the current row.
|
float |
getScore(int index)
Get the score for the specified node in the current row.
|
String |
getWorkspaceName()
Get the name of the workspace in which exists all nodes in this batch.
|
boolean |
hasNext()
Determine if there are more rows in this batch.
|
boolean |
isEmpty()
Determine whether this batch is empty.
|
void |
nextRow()
Move to the next row in this batch.
|
protected void |
recordRightRowsMatched(Object rightKey) |
long |
rowCount()
Get the number of rows in the batch, if that information is available.
|
int |
width()
Get the number of nodes in each row.
|
protected HashJoinBatch(NodeSequence.Batch currentLeft)
public int width()
NodeSequence.RowAccessorwidth in interface NodeSequence.RowAccessorpublic String getWorkspaceName()
NodeSequence.BatchgetWorkspaceName in interface NodeSequence.Batchpublic boolean isEmpty()
NodeSequence.BatchisEmpty in interface NodeSequence.Batchpublic long rowCount()
NodeSequence.BatchrowCount in interface NodeSequence.Batchpublic boolean hasNext()
NodeSequence.BatchhasNext in interface NodeSequence.Batchprotected Iterator<BufferedRows.BufferedRow> getRightRowsFor(Object leftValue)
protected void recordRightRowsMatched(Object rightKey)
public void nextRow()
NodeSequence.BatchnextRow in interface NodeSequence.Batchpublic CachedNode getNode()
NodeSequence.RowAccessorgetNode(0).getNode in interface NodeSequence.RowAccessorpublic CachedNode getNode(int index)
NodeSequence.RowAccessorgetNode in interface NodeSequence.RowAccessorindex - the 0-based index for the node in the row; must be less than NodeSequence.RowAccessor.width().public float getScore()
NodeSequence.RowAccessorgetScore(0).getScore in interface NodeSequence.RowAccessorpublic float getScore(int index)
NodeSequence.RowAccessorgetScore in interface NodeSequence.RowAccessorindex - the 0-based index for the node in the row; must be less than NodeSequence.RowAccessor.width().Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.