Interface AsyncStatementResult (6.51.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
TypeDescription
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
TypeDescription
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
TypeDescription
ApiFuture<Long>

the update count held by this result.