public class TypedAsyncJob<T> extends AsyncJob
To get the result of the action (e.g. the number of results from a `count()` action or an Array of Row objects from the `collect()` action), call the getResult method.
To perform an action on a DataFrame asynchronously, call an action method on the DataFrameAsyncActor object returned by DataFrame.async.
| Modifier and Type | Method and Description |
|---|---|
T |
getResult()
Returns the result for the specific DataFrame action.
|
T |
getResult(int maxWaitTimeInSeconds)
Returns the result for the specific DataFrame action.
|
cancel, getIterator, getIterator, getQueryId, getRows, getRows, isDonepublic T getResult(int maxWaitTimeInSeconds)
maxWaitTimeInSeconds - The maximum number of seconds to wait for the query to complete
before attempting to retrieve the results.public T getResult()
The max waiting time is the value of `snowpark_request_timeout_in_seconds` configuration property.
© 2023 Snowflake Inc. All Rights Reserved