Interface AsyncStatementResult (6.79.0)

public interface AsyncStatementResult extends StatementResult

Implements

StatementResult

Methods

getNoResultAsync()

public abstract ApiFuture<Void> getNoResultAsync()

Returns a future that tracks the progress of a statement that returns no result. This could be a DDL statement or a client side statement that does not return a result.

Returns
Type Description
ApiFuture<Void>

getResultSetAsync()

public abstract AsyncResultSet getResultSetAsync()

Returns the AsyncResultSet held by this result. May only be called if the type of this result is ResultType#RESULT_SET.

Returns
Type Description
AsyncResultSet

the AsyncResultSet held by this result.

getUpdateCountAsync()

public abstract ApiFuture<Long> getUpdateCountAsync()

Returns the update count held by this result. May only be called if the type of this result is ResultType#UPDATE_COUNT.

Returns
Type Description
ApiFuture<Long>

the update count held by this result.