C - cluster id to which this result belongs topublic class ChangelogCollectStreamResult<C> extends CollectStreamResult<C> implements ChangelogResult<C>
executionException, resultLockclusterId, webInterfaceUrl| Constructor and Description |
|---|
ChangelogCollectStreamResult(org.apache.flink.table.api.TableSchema tableSchema,
org.apache.flink.api.common.ExecutionConfig config,
InetAddress gatewayAddress,
int gatewayPort,
ClassLoader classLoader) |
| 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.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row> change) |
TypedResult<List<org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row>>> |
retrieveChanges()
Retrieves the available result records.
|
close, getTableSink, handleMissingResult, isRetrieving, startRetrievalgetClusterId, getWebInterfaceUrl, setClusterInformationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getTableSink, startRetrievalsetClusterInformationpublic ChangelogCollectStreamResult(org.apache.flink.table.api.TableSchema tableSchema,
org.apache.flink.api.common.ExecutionConfig config,
InetAddress gatewayAddress,
int gatewayPort,
ClassLoader classLoader)
public boolean isMaterialized()
DynamicResultisMaterialized in interface DynamicResult<C>public TypedResult<List<org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row>>> retrieveChanges()
ChangelogResultretrieveChanges in interface ChangelogResult<C>protected void processRecord(org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row> change)
processRecord in class CollectStreamResult<C>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.