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<PCollectionList<Row>,PCollection<Row>> |
buildPTransform() |
computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getTuples, getTuples
accept, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPCollectionInputs, getPipelineOptions
accept, 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, replaceInput
public 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<PCollectionList<Row>,PCollection<Row>> buildPTransform()
buildPTransform
in interface BeamRelNode