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