public abstract class PhysicalJoin extends BinaryOperator
LEFT, RIGHT
tupleCounter
Constructor and Description |
---|
PhysicalJoin(Operator left,
Operator right,
StorageManager sm,
Predicate predicate)
Constructs a new physical join operator.
|
Modifier and Type | Method and Description |
---|---|
protected Tuple |
combineTuples(Tuple left,
Tuple right)
Given two tuples, combine them into a single one.
|
protected Predicate |
getPredicate()
Retrieves the predicate of this physical join.
|
protected StorageManager |
getStorageManager()
Retrieves the storage manager of this physical join.
|
protected Relation |
setOutputRelation()
Sets the output relation for this operator.
|
allDone, cleanup, getInputOperator, getMultiNext, getNext, getNumberOfInputs, getOutputRelation, innerGetNext, innerProcessTuple, prefix, processTuple, setInputs, setup, toString, toString, toStringSingle, tuples
public PhysicalJoin(Operator left, Operator right, StorageManager sm, Predicate predicate) throws EngineException
left
- the left input operator.right
- the right input operatorsm
- the storage manager.predicate
- the predicate evaluated by this join operator.EngineException
- thrown whenever the operator cannot be
properly constructed.protected StorageManager getStorageManager()
protected Predicate getPredicate()
protected Relation setOutputRelation() throws EngineException
setOutputRelation
in class Operator
EngineException
- thrown whenever the output relation cannot
be constructed.