public class ChangelogCollectResult extends CollectResultBase implements ChangelogResult
CollectResultBase.ResultRetrievalThread| Modifier and Type | Field and Description |
|---|---|
protected static int |
CHANGE_RECORD_BUFFER_SIZE |
executionException, resultLock, retrievalThread| Constructor and Description |
|---|
ChangelogCollectResult(org.apache.flink.table.api.TableResult tableResult) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMaterialized()
Returns whether this result is materialized such that snapshots can be taken or results must
be retrieved record-wise.
|
protected void |
processRecord(org.apache.flink.types.Row row) |
TypedResult<List<org.apache.flink.types.Row>> |
retrieveChanges()
Retrieves the available result records.
|
close, handleMissingResult, isRetrievingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose@VisibleForTesting protected static final int CHANGE_RECORD_BUFFER_SIZE
public ChangelogCollectResult(org.apache.flink.table.api.TableResult tableResult)
public boolean isMaterialized()
DynamicResultisMaterialized in interface DynamicResultpublic TypedResult<List<org.apache.flink.types.Row>> retrieveChanges()
ChangelogResultretrieveChanges in interface ChangelogResultprotected void processRecord(org.apache.flink.types.Row row)
processRecord in class CollectResultBaseCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.