public class Uncollect extends SingleRel
Like its inverse operation Collect, Uncollect is generally
invoked in a nested loop, driven by
LogicalCorrelate or similar.
digest, id, rowType, traitSet| Constructor and Description |
|---|
Uncollect(RelInput input)
Creates an Uncollect by parsing serialized output.
|
Uncollect(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child)
Creates an Uncollect.
|
| Modifier and Type | Method and Description |
|---|---|
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
RelNode |
copy(RelTraitSet traitSet,
RelNode input) |
protected RelDataType |
deriveRowType() |
static RelDataType |
deriveUncollectRowType(RelNode rel)
Returns the row type returned by applying the 'UNNEST' operation to a
relational expression.
|
childrenAccept, explainTerms, getInput, getInputs, getRows, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringpublic Uncollect(RelOptCluster cluster, RelTraitSet traitSet, RelNode child)
The row type of the child relational expression must contain precisely one column, that column must be a multiset of records.
cluster - Cluster the relational expression belongs totraitSet - Traitschild - Child relational expressionpublic Uncollect(RelInput input)
public final RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
RelNodeSub-classes with other important attributes are encouraged to create variants of this method with more parameters.
copy in interface RelNodecopy in class AbstractRelNodetraitSet - Trait setinputs - Inputspublic RelNode copy(RelTraitSet traitSet, RelNode input)
protected RelDataType deriveRowType()
deriveRowType in class SingleRelpublic static RelDataType deriveUncollectRowType(RelNode rel)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.