public class BeamValuesRel extends org.apache.calcite.rel.core.Values implements BeamRelNode
BeamRelNode to replace a Values node.
BeamValuesRel will be used in the following SQLs:
insert into t (name, desc) values ('hello', 'world')
select 1, '1', LOCALTIME
| Constructor and Description |
|---|
BeamValuesRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.rel.type.RelDataType rowType,
ImmutableList<ImmutableList<org.apache.calcite.rex.RexLiteral>> tuples,
org.apache.calcite.plan.RelTraitSet traits) |
| Modifier and Type | Method and Description |
|---|---|
PTransform<PCollectionTuple,PCollection<Row>> |
toPTransform()
A
BeamRelNode is a recursive structure, the BeamQueryPlanner visits it with a
DFS(Depth-First-Search) algorithm. |
computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getTuples, getTuplesaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, copy, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, copy, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInputpublic BeamValuesRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.rel.type.RelDataType rowType,
ImmutableList<ImmutableList<org.apache.calcite.rex.RexLiteral>> tuples,
org.apache.calcite.plan.RelTraitSet traits)
public PTransform<PCollectionTuple,PCollection<Row>> toPTransform()
BeamRelNodeBeamRelNode is a recursive structure, the BeamQueryPlanner visits it with a
DFS(Depth-First-Search) algorithm.toPTransform in interface BeamRelNode