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
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, validRowPositionFields inherited from class org.apache.flink.table.client.gateway.result.CollectResultBase
executionException, resultLock, retrievalThread -
Constructor Summary
ConstructorsConstructorDescriptionMaterializedCollectStreamResult(StatementResult tableResult, int maxRowCount) MaterializedCollectStreamResult(StatementResult tableResult, int maxRowCount, int overcommitThreshold) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessRecord(org.apache.flink.table.data.RowData row) Methods inherited from class org.apache.flink.table.client.gateway.result.MaterializedCollectResultBase
computeMaterializedTableCapacity, computeMaterializedTableOvercommit, getMaterializedTable, retrievePage, snapshotMethods inherited from class org.apache.flink.table.client.gateway.result.CollectResultBase
close, handleMissingResult, isRetrievingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.client.gateway.result.DynamicResult
close
-
Constructor Details
-
MaterializedCollectStreamResult
@VisibleForTesting public MaterializedCollectStreamResult(StatementResult tableResult, int maxRowCount, int overcommitThreshold) -
MaterializedCollectStreamResult
-
-
Method Details
-
processRecord
protected void processRecord(org.apache.flink.table.data.RowData row) - Specified by:
processRecordin classCollectResultBase
-