Class OperationManager.Operation
java.lang.Object
org.apache.flink.table.gateway.service.operation.OperationManager.Operation
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- OperationManager
Operation to manage the execution, results and so on.
-
Constructor Summary
ConstructorsConstructorDescriptionOperation(org.apache.flink.table.gateway.api.operation.OperationHandle operationHandle, Callable<ResultFetcher> resultSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcancel()voidclose()org.apache.flink.table.gateway.api.results.ResultSetfetchResults(long token, int maxRows) org.apache.flink.table.gateway.api.results.ResultSetfetchResults(org.apache.flink.table.gateway.api.results.FetchOrientation orientation, int maxRows) org.apache.flink.table.gateway.api.results.OperationInfoorg.apache.flink.table.catalog.ResolvedSchemavoidrun()
-
Constructor Details
-
Operation
public Operation(org.apache.flink.table.gateway.api.operation.OperationHandle operationHandle, Callable<ResultFetcher> resultSupplier)
-
-
Method Details
-
run
public void run() -
cancel
public void cancel() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
fetchResults
public org.apache.flink.table.gateway.api.results.ResultSet fetchResults(long token, int maxRows) -
fetchResults
public org.apache.flink.table.gateway.api.results.ResultSet fetchResults(org.apache.flink.table.gateway.api.results.FetchOrientation orientation, int maxRows) -
getResultSchema
- Throws:
Exception
-
getOperationInfo
public org.apache.flink.table.gateway.api.results.OperationInfo getOperationInfo() -
awaitTermination
- Throws:
Exception
-