@Internal public class DataSetQueryOperation<E> extends Object implements org.apache.flink.table.operations.QueryOperation
DataSet.
This operation may expose only part, or change the order of the fields available in a CompositeType of the underlying DataSet. The
getFieldIndices() describes the mapping between fields of the
TableSchema to the CompositeType.
| Constructor and Description |
|---|
DataSetQueryOperation(org.apache.flink.api.java.DataSet<E> dataSet,
int[] fieldIndices,
org.apache.flink.table.catalog.ResolvedSchema resolvedSchema) |
| 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.api.java.DataSet<E> |
getDataSet() |
int[] |
getFieldIndices() |
org.apache.flink.table.catalog.ResolvedSchema |
getResolvedSchema() |
public DataSetQueryOperation(org.apache.flink.api.java.DataSet<E> dataSet, int[] fieldIndices, org.apache.flink.table.catalog.ResolvedSchema resolvedSchema)
public org.apache.flink.api.java.DataSet<E> getDataSet()
public int[] getFieldIndices()
public org.apache.flink.table.catalog.ResolvedSchema getResolvedSchema()
getResolvedSchema 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.QueryOperationCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.