Class TableSourceQueryOperation<T>

java.lang.Object
org.apache.flink.table.operations.TableSourceQueryOperation<T>
All Implemented Interfaces:
Operation, QueryOperation

@Internal public class TableSourceQueryOperation<T> extends Object implements QueryOperation
Inline scan of a TableSource. Used only when a Table was created from org.apache.flink.table.api.TableEnvironment#fromTableSource(TableSource).
  • Constructor Details

    • TableSourceQueryOperation

      public TableSourceQueryOperation(org.apache.flink.table.legacy.sources.TableSource<T> tableSource, boolean isBatch)
  • Method Details

    • getResolvedSchema

      public org.apache.flink.table.catalog.ResolvedSchema getResolvedSchema()
      Description copied from interface: QueryOperation
      Resolved schema of this operation.
      Specified by:
      getResolvedSchema in interface QueryOperation
    • asSummaryString

      public String asSummaryString()
      Description copied from interface: Operation
      Returns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.
      Specified by:
      asSummaryString in interface Operation
      Returns:
      summary string of this operation for debugging purposes
    • getTableSource

      public org.apache.flink.table.legacy.sources.TableSource<T> getTableSource()
    • isBatch

      public boolean isBatch()
    • getChildren

      public List<QueryOperation> getChildren()
      Specified by:
      getChildren in interface QueryOperation
    • accept

      public <R> R accept(QueryOperationVisitor<R> visitor)
      Specified by:
      accept in interface QueryOperation