java.lang.Object
org.apache.flink.table.gateway.service.result.ResultStore

public class ResultStore extends Object
A result store which stores and buffers results.
  • Field Details

    • DUMMY_RESULT_STORE

      public static final ResultStore DUMMY_RESULT_STORE
  • Constructor Details

    • ResultStore

      public ResultStore(org.apache.flink.util.CloseableIterator<org.apache.flink.table.data.RowData> result, int maxBufferSize)
  • Method Details

    • close

      public void close()
    • retrieveRecords

      public Optional<List<org.apache.flink.table.data.RowData>> retrieveRecords()
    • getBufferedRecordSize

      public int getBufferedRecordSize()
    • waitUntilHasData

      public void waitUntilHasData()
    • isRetrieving

      public boolean isRetrieving()