public class MaterializedCollectBatchResult<C> extends BasicResult<C> implements MaterializedResult<C>
clusterId, webInterfaceUrl| 构造器和说明 |
|---|
MaterializedCollectBatchResult(org.apache.flink.table.api.TableSchema tableSchema,
org.apache.flink.api.common.ExecutionConfig config,
ClassLoader classLoader) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Closes the retrieval and all involved threads.
|
org.apache.flink.table.sinks.TableSink<?> |
getTableSink()
Returns the table sink required by this result type.
|
boolean |
isMaterialized()
Returns whether this result is materialized such that snapshots can be taken or results
must be retrieved record-wise.
|
List<org.apache.flink.types.Row> |
retrievePage(int page)
Retrieves a page of a snapshotted result.
|
TypedResult<Integer> |
snapshot(int pageSize)
Takes a snapshot of the current table and returns the number of pages for navigating
through the snapshot.
|
void |
startRetrieval(org.apache.flink.core.execution.JobClient jobClient)
Starts retrieving the result using the given
JobClient and monitors it's execution. |
getClusterId, getWebInterfaceUrl, setClusterInformationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetClusterInformationpublic MaterializedCollectBatchResult(org.apache.flink.table.api.TableSchema tableSchema,
org.apache.flink.api.common.ExecutionConfig config,
ClassLoader classLoader)
public boolean isMaterialized()
DynamicResultisMaterialized 在接口中 DynamicResult<C>public void startRetrieval(org.apache.flink.core.execution.JobClient jobClient)
DynamicResultJobClient and monitors it's execution.startRetrieval 在接口中 DynamicResult<C>public org.apache.flink.table.sinks.TableSink<?> getTableSink()
DynamicResultgetTableSink 在接口中 DynamicResult<C>public void close()
DynamicResultclose 在接口中 DynamicResult<C>public List<org.apache.flink.types.Row> retrievePage(int page)
MaterializedResultretrievePage 在接口中 MaterializedResult<C>public TypedResult<Integer> snapshot(int pageSize)
MaterializedResultsnapshot 在接口中 MaterializedResult<C>Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.