Class CollectResultBase

java.lang.Object
org.apache.flink.table.client.gateway.result.CollectResultBase
All Implemented Interfaces:
DynamicResult
Direct Known Subclasses:
ChangelogCollectResult, MaterializedCollectResultBase

public abstract class CollectResultBase extends Object implements DynamicResult
A result that works through TableResult.collect().
  • Field Details

  • Constructor Details

    • CollectResultBase

      public CollectResultBase(StatementResult tableResult)
  • Method Details

    • close

      public void close()
      Description copied from interface: DynamicResult
      Closes the retrieval and all involved threads.
      Specified by:
      close in interface DynamicResult
    • handleMissingResult

      protected <T> TypedResult<T> handleMissingResult()
    • processRecord

      protected abstract void processRecord(org.apache.flink.table.data.RowData row)
    • isRetrieving

      protected boolean isRetrieving()