public class BeamValuesRel extends 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(RelOptCluster cluster,
RelDataType rowType,
ImmutableList<ImmutableList<RexLiteral>> tuples,
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. |
public BeamValuesRel(RelOptCluster cluster,
RelDataType rowType,
ImmutableList<ImmutableList<RexLiteral>> tuples,
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