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

    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

    Modifier and Type
    Method
    Description
    <T> T
    accept(org.apache.flink.table.operations.QueryOperationVisitor<T> visitor)
     
     
    org.apache.flink.table.connector.ChangelogMode
     
    List<org.apache.flink.table.operations.QueryOperation>
     
    org.apache.flink.table.catalog.ContextResolvedTable
     
    org.apache.flink.streaming.api.datastream.DataStream<E>
     
    org.apache.flink.table.types.DataType
     
    org.apache.flink.table.catalog.ResolvedSchema
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      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