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 aDataStream.It contains all information necessary to perform a stream-to-table conversion.
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor)StringasSummaryString()org.apache.flink.table.connector.ChangelogModegetChangelogMode()List<org.apache.flink.table.operations.QueryOperation>getChildren()org.apache.flink.table.catalog.ContextResolvedTablegetContextResolvedTable()org.apache.flink.streaming.api.datastream.DataStream<E>getDataStream()org.apache.flink.table.types.DataTypegetPhysicalDataType()org.apache.flink.table.catalog.ResolvedSchemagetResolvedSchema()booleanisTopLevelRecord()
-
-
-
Constructor Detail
-
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 Detail
-
getContextResolvedTable
public org.apache.flink.table.catalog.ContextResolvedTable getContextResolvedTable()
-
getDataStream
public org.apache.flink.streaming.api.datastream.DataStream<E> getDataStream()
-
getPhysicalDataType
public org.apache.flink.table.types.DataType getPhysicalDataType()
-
isTopLevelRecord
public boolean isTopLevelRecord()
-
getChangelogMode
public org.apache.flink.table.connector.ChangelogMode getChangelogMode()
-
asSummaryString
public String asSummaryString()
- Specified by:
asSummaryStringin interfaceorg.apache.flink.table.operations.Operation
-
getChildren
public List<org.apache.flink.table.operations.QueryOperation> 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
-
-