Class 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 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:
        asSummaryString in interface org.apache.flink.table.operations.Operation
      • getChildren

        public List<org.apache.flink.table.operations.QueryOperation> getChildren()
        Specified by:
        getChildren in interface org.apache.flink.table.operations.QueryOperation
      • getResolvedSchema

        public org.apache.flink.table.catalog.ResolvedSchema getResolvedSchema()
        Specified by:
        getResolvedSchema in interface org.apache.flink.table.operations.QueryOperation
      • accept

        public <T> T accept​(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor)
        Specified by:
        accept in interface org.apache.flink.table.operations.QueryOperation