Interface AsyncResultSet (2.16.1)

public interface AsyncResultSet extends ResultSet

Implements

ResultSet

Methods

<T>toList(Function<StructReader,T> arg0)

public abstract List<T> <T>toList(Function<StructReader,T> arg0)
Parameter
NameDescription
arg0com.google.common.base.Function<StructReader,T>
Returns
TypeDescription
List<T>
Exceptions
TypeDescription
SpannerException

<T>toListAsync(Function<StructReader,T> arg0, Executor arg1)

public abstract ApiFuture<List<T>> <T>toListAsync(Function<StructReader,T> arg0, Executor arg1)
Parameters
NameDescription
arg0com.google.common.base.Function<StructReader,T>
arg1Executor
Returns
TypeDescription
ApiFuture<List<T>>

cancel()

public abstract void cancel()

resume()

public abstract void resume()

setCallback(Executor arg0, AsyncResultSet.ReadyCallback arg1)

public abstract ApiFuture<Void> setCallback(Executor arg0, AsyncResultSet.ReadyCallback arg1)
Parameters
NameDescription
arg0Executor
arg1ReadyCallback
Returns
TypeDescription
ApiFuture<Void>

tryNext()

public abstract AsyncResultSet.CursorState tryNext()
Returns
TypeDescription
CursorState
Exceptions
TypeDescription
SpannerException