public class InnerJoin extends Object implements MultiStreamPlanNode, PlanNode
This inner join algorithm assumes the left iterator is unique for tuple[0], eg. no two tuples have the same value at index 0. The right iterator is allowed to contain duplicates.
Constructor and Description |
---|
InnerJoin(PlanNode left,
PlanNode right) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
depth() |
PlanNode |
getDiscardedLeft(Class<? extends PushablePlanNode> type) |
PlanNode |
getDiscardedRight(Class<? extends PushablePlanNode> type) |
String |
getId() |
IteratorData |
getIteratorDataType() |
PlanNode |
getJoined(Class<? extends PushablePlanNode> type) |
void |
getPlanAsGraphvizDot(StringBuilder stringBuilder) |
boolean |
incrementIterator() |
void |
init() |
CloseableIteration<Tuple,SailException> |
internalIterator() |
CloseableIteration<Tuple,SailException> |
iterator() |
List<PlanNode> |
parent() |
String |
toString() |
public PlanNode getJoined(Class<? extends PushablePlanNode> type)
public PlanNode getDiscardedLeft(Class<? extends PushablePlanNode> type)
public PlanNode getDiscardedRight(Class<? extends PushablePlanNode> type)
public CloseableIteration<Tuple,SailException> iterator()
public CloseableIteration<Tuple,SailException> internalIterator()
public void getPlanAsGraphvizDot(StringBuilder stringBuilder)
getPlanAsGraphvizDot
in interface PlanNode
public IteratorData getIteratorDataType()
getIteratorDataType
in interface PlanNode
public void init()
init
in interface MultiStreamPlanNode
public void close()
close
in interface MultiStreamPlanNode
public boolean incrementIterator()
incrementIterator
in interface MultiStreamPlanNode
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.