Class ExternalQueryOperation<E>
java.lang.Object
org.apache.flink.table.operations.ExternalQueryOperation<E>
- Type Parameters:
E- External type of data stream
- All Implemented Interfaces:
org.apache.flink.table.operations.Operation,org.apache.flink.table.operations.QueryOperation
@Internal
public final class ExternalQueryOperation<E>
extends Object
implements org.apache.flink.table.operations.QueryOperation
Describes a relational operation that reads from a
DataStream.
It contains all information necessary to perform a stream-to-table conversion.
-
Constructor Summary
ConstructorsConstructorDescriptionExternalQueryOperation(org.apache.flink.table.catalog.ContextResolvedTable contextResolvedTable, org.apache.flink.streaming.api.datastream.DataStream<E> dataStream, org.apache.flink.table.types.DataType physicalDataType, boolean isTopLevelRecord, org.apache.flink.table.connector.ChangelogMode changelogMode) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor) org.apache.flink.table.connector.ChangelogModeList<org.apache.flink.table.operations.QueryOperation>org.apache.flink.table.catalog.ContextResolvedTableorg.apache.flink.streaming.api.datastream.DataStream<E>org.apache.flink.table.types.DataTypeorg.apache.flink.table.catalog.ResolvedSchemabooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.operations.QueryOperation
asSerializableString
-
Constructor Details
-
ExternalQueryOperation
public ExternalQueryOperation(org.apache.flink.table.catalog.ContextResolvedTable contextResolvedTable, org.apache.flink.streaming.api.datastream.DataStream<E> dataStream, org.apache.flink.table.types.DataType physicalDataType, boolean isTopLevelRecord, org.apache.flink.table.connector.ChangelogMode changelogMode)
-
-
Method Details
-
getContextResolvedTable
public org.apache.flink.table.catalog.ContextResolvedTable getContextResolvedTable() -
getDataStream
-
getPhysicalDataType
public org.apache.flink.table.types.DataType getPhysicalDataType() -
isTopLevelRecord
public boolean isTopLevelRecord() -
getChangelogMode
public org.apache.flink.table.connector.ChangelogMode getChangelogMode() -
asSummaryString
- Specified by:
asSummaryStringin interfaceorg.apache.flink.table.operations.Operation
-
getChildren
- Specified by:
getChildrenin interfaceorg.apache.flink.table.operations.QueryOperation
-
getResolvedSchema
public org.apache.flink.table.catalog.ResolvedSchema getResolvedSchema()- Specified by:
getResolvedSchemain interfaceorg.apache.flink.table.operations.QueryOperation
-
accept
public <T> T accept(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor) - Specified by:
acceptin interfaceorg.apache.flink.table.operations.QueryOperation
-