@Internal public class DataStreamQueryOperation<E> extends Object implements org.apache.flink.table.operations.QueryOperation
DataStream.
This is only used for testing.
This operation may expose only part, or change the order of the fields available in a CompositeType of the underlying DataStream. The
getFieldIndices() describes the mapping between fields of the
TableSchema to the CompositeType.
| Constructor and Description |
|---|
DataStreamQueryOperation(org.apache.flink.table.catalog.ObjectIdentifier identifier,
org.apache.flink.streaming.api.datastream.DataStream<E> dataStream,
int[] fieldIndices,
org.apache.flink.table.api.TableSchema tableSchema,
boolean[] fieldNullables,
org.apache.flink.table.planner.plan.stats.FlinkStatistic statistic) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor) |
String |
asSummaryString() |
List<org.apache.flink.table.operations.QueryOperation> |
getChildren() |
org.apache.flink.streaming.api.datastream.DataStream<E> |
getDataStream() |
int[] |
getFieldIndices() |
boolean[] |
getFieldNullables() |
org.apache.flink.table.catalog.ObjectIdentifier |
getIdentifier() |
org.apache.flink.table.planner.plan.stats.FlinkStatistic |
getStatistic() |
org.apache.flink.table.api.TableSchema |
getTableSchema() |
public DataStreamQueryOperation(org.apache.flink.table.catalog.ObjectIdentifier identifier,
org.apache.flink.streaming.api.datastream.DataStream<E> dataStream,
int[] fieldIndices,
org.apache.flink.table.api.TableSchema tableSchema,
boolean[] fieldNullables,
org.apache.flink.table.planner.plan.stats.FlinkStatistic statistic)
public org.apache.flink.streaming.api.datastream.DataStream<E> getDataStream()
public int[] getFieldIndices()
public org.apache.flink.table.api.TableSchema getTableSchema()
getTableSchema in interface org.apache.flink.table.operations.QueryOperationpublic String asSummaryString()
asSummaryString in interface org.apache.flink.table.operations.Operationpublic List<org.apache.flink.table.operations.QueryOperation> getChildren()
getChildren in interface org.apache.flink.table.operations.QueryOperationpublic <T> T accept(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor)
accept in interface org.apache.flink.table.operations.QueryOperationpublic org.apache.flink.table.catalog.ObjectIdentifier getIdentifier()
public boolean[] getFieldNullables()
public org.apache.flink.table.planner.plan.stats.FlinkStatistic getStatistic()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.