@VisibleForTesting public class OperationManager.Operation extends Object implements AutoCloseable
| Constructor and Description |
|---|
Operation(org.apache.flink.table.gateway.api.operation.OperationHandle operationHandle,
Callable<ResultFetcher> resultSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitTermination() |
void |
cancel() |
void |
close() |
org.apache.flink.table.gateway.api.results.ResultSet |
fetchResults(org.apache.flink.table.gateway.api.results.FetchOrientation orientation,
int maxRows) |
org.apache.flink.table.gateway.api.results.ResultSet |
fetchResults(long token,
int maxRows) |
org.apache.flink.table.gateway.api.results.OperationInfo |
getOperationInfo() |
org.apache.flink.table.catalog.ResolvedSchema |
getResultSchema() |
void |
run() |
public Operation(org.apache.flink.table.gateway.api.operation.OperationHandle operationHandle,
Callable<ResultFetcher> resultSupplier)
public void run()
public void cancel()
public void close()
close in interface AutoCloseablepublic org.apache.flink.table.gateway.api.results.ResultSet fetchResults(long token,
int maxRows)
public org.apache.flink.table.gateway.api.results.ResultSet fetchResults(org.apache.flink.table.gateway.api.results.FetchOrientation orientation,
int maxRows)
public org.apache.flink.table.catalog.ResolvedSchema getResultSchema()
throws Exception
Exceptionpublic org.apache.flink.table.gateway.api.results.OperationInfo getOperationInfo()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.