public abstract class CommonExecValues extends ExecNodeBase<RowData> implements SingleTransformationTranslator<RowData>
ExecNode
that read records from given values.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_TUPLES |
FIELD_NAME_DESCRIPTION, FIELD_NAME_ID, FIELD_NAME_INPUT_PROPERTIES, FIELD_NAME_OUTPUT_TYPE
Constructor and Description |
---|
CommonExecValues(List<List<RexLiteral>> tuples,
int id,
RowType outputType,
String description) |
Modifier and Type | Method and Description |
---|---|
List<List<org.apache.calcite.rex.RexNode>> |
getTuples()
In order to use
RexNodeJsonSerializer to serialize RexLiteral , so we force
cast element of tuples to RexNode which is the parent class of RexLiteral . |
protected Transformation<RowData> |
translateToPlanInternal(org.apache.flink.table.planner.delegation.PlannerBase planner)
Internal method, translates this node into a Flink operator.
|
accept, getDescription, getId, getInputEdges, getInputProperties, getNewNodeId, getOutputType, inputsContainSingleton, replaceInputEdge, resetIdCounter, setInputEdges, translateToPlan
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
translateToPlan
public static final String FIELD_NAME_TUPLES
public CommonExecValues(List<List<RexLiteral>> tuples, int id, RowType outputType, String description)
protected Transformation<RowData> translateToPlanInternal(org.apache.flink.table.planner.delegation.PlannerBase planner)
ExecNodeBase
translateToPlanInternal
in class ExecNodeBase<RowData>
public List<List<org.apache.calcite.rex.RexNode>> getTuples()
RexNodeJsonSerializer
to serialize RexLiteral
, so we force
cast element of tuples to RexNode
which is the parent class of RexLiteral
.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.