Class MaterializedCollectStreamResult
- java.lang.Object
-
- org.apache.flink.table.client.gateway.result.CollectResultBase
-
- org.apache.flink.table.client.gateway.result.MaterializedCollectResultBase
-
- org.apache.flink.table.client.gateway.result.MaterializedCollectStreamResult
-
- All Implemented Interfaces:
DynamicResult,MaterializedResult
public class MaterializedCollectStreamResult extends MaterializedCollectResultBase
Collects results and returns them as table snapshots.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.table.client.gateway.result.CollectResultBase
CollectResultBase.ResultRetrievalThread
-
-
Field Summary
-
Fields inherited from class org.apache.flink.table.client.gateway.result.MaterializedCollectResultBase
MATERIALIZED_TABLE_CAPACITY_FACTOR, MATERIALIZED_TABLE_MAX_INITIAL_CAPACITY, MATERIALIZED_TABLE_MAX_OVERCOMMIT, MATERIALIZED_TABLE_OVERCOMMIT_FACTOR, materializedTable, maxRowCount, overcommitThreshold, validRowPosition
-
Fields inherited from class org.apache.flink.table.client.gateway.result.CollectResultBase
executionException, resultLock, retrievalThread
-
-
Constructor Summary
Constructors Constructor Description MaterializedCollectStreamResult(StatementResult tableResult, int maxRowCount)MaterializedCollectStreamResult(StatementResult tableResult, int maxRowCount, int overcommitThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessRecord(org.apache.flink.table.data.RowData row)-
Methods inherited from class org.apache.flink.table.client.gateway.result.MaterializedCollectResultBase
computeMaterializedTableCapacity, computeMaterializedTableOvercommit, getMaterializedTable, retrievePage, snapshot
-
Methods inherited from class org.apache.flink.table.client.gateway.result.CollectResultBase
close, handleMissingResult, isRetrieving
-
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.client.gateway.result.DynamicResult
close
-
-
-
-
Constructor Detail
-
MaterializedCollectStreamResult
@VisibleForTesting public MaterializedCollectStreamResult(StatementResult tableResult, int maxRowCount, int overcommitThreshold)
-
MaterializedCollectStreamResult
public MaterializedCollectStreamResult(StatementResult tableResult, int maxRowCount)
-
-
Method Detail
-
processRecord
protected void processRecord(org.apache.flink.table.data.RowData row)
- Specified by:
processRecordin classCollectResultBase
-
-