net.sf.saffron.rel
Class CorrelatorRel
java.lang.Object
|
+--net.sf.saffron.rel.SaffronRel
|
+--net.sf.saffron.rel.JoinRel
|
+--net.sf.saffron.rel.CorrelatorRel
- public class CorrelatorRel
- extends JoinRel
A CorrelatorRel
behaves like a kind of JoinRel
, but
works by setting variables in its environment and restarting its
right-hand input. It is used to represent a correlated query; one
implementation option is to de-correlate the expression.
- Since:
- 23 September, 2001
- Version:
- $Id: //open/saffron/src/net/sf/saffron/rel/CorrelatorRel.java#3 $
- Author:
- jhyde
Methods inherited from class net.sf.saffron.rel.JoinRel |
childrenAccept, deriveRowType, explain, getChildExps, getCondition, getInputs, getJoinType, getLeft, getRight, getVariablesStopped, registerStoppedVariable, replaceInput, setVariablesStopped, switchJoinType |
Methods inherited from class net.sf.saffron.rel.SaffronRel |
computeDigest, computeSelfCost, getCluster, getConvention, getCorrelVariable, getId, getInput, getOrCreateCorrelVariable, getQualifier, getQuery, getRelTypeName, getRows, getRowType, getTable, implement, implementFieldAccess, isAccessTo, isDistinct, onRegister, recomputeDigest, register, registerCorrelVariable, setCorrelVariable, toString |
correlations
Expression[] correlations
CorrelatorRel
CorrelatorRel(VolcanoCluster cluster,
SaffronRel left,
SaffronRel right,
int joinType,
Expression[] correlations)
- Creates a Correlator.
- Parameters:
cluster
- VolcanoCluster
this relational expression
belongs toleft
- left input relational expressionright
- right input relational expressionjoinType
- join type (see JoinRel.joinType
)correlations
- set of expressions to set as variables each time a
row arrives from the left input
clone
public Object clone()
- Overrides:
clone
in class JoinRel