Class ForwardingAsyncResultSet (2.16.1)

public class ForwardingAsyncResultSet extends ForwardingResultSet implements AsyncResultSet

Inheritance

java.lang.Object > ForwardingStructReader > ForwardingResultSet > ForwardingAsyncResultSet

Implements

AsyncResultSet

Constructors

ForwardingAsyncResultSet(AsyncResultSet arg0)

public ForwardingAsyncResultSet(AsyncResultSet arg0)
Parameter
NameDescription
arg0AsyncResultSet

Methods

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

public 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 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 void cancel()

resume()

public void resume()

setCallback(Executor arg0, AsyncResultSet.ReadyCallback arg1)

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

tryNext()

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