Class ForwardingResultSet (2.25.0)

public class ForwardingResultSet extends ForwardingStructReader implements ProtobufResultSet, StreamingResultSet

Inheritance

java.lang.Object > ForwardingStructReader > ForwardingResultSet

Implements

ProtobufResultSet, com.google.cloud.spanner.StreamingResultSet

Constructors

ForwardingResultSet(ResultSet arg0)

public ForwardingResultSet(ResultSet arg0)
Parameter
Name Description
arg0 ResultSet

ForwardingResultSet(Supplier<? extends ResultSet> arg0)

public ForwardingResultSet(Supplier<? extends ResultSet> arg0)
Parameter
Name Description
arg0 com.google.common.base.Supplier<? extends com.google.cloud.spanner.ResultSet>

Methods

canGetProtobufValue(int arg0)

public boolean canGetProtobufValue(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
boolean

close()

public void close()

getCurrentRowAsStruct()

public Struct getCurrentRowAsStruct()
Returns
Type Description
Struct

getMetadata()

public ResultSetMetadata getMetadata()
Returns
Type Description
com.google.spanner.v1.ResultSetMetadata

getProtobufValue(int arg0)

public Value getProtobufValue(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
Value

getStats()

public ResultSetStats getStats()
Returns
Type Description
com.google.spanner.v1.ResultSetStats

initiateStreaming(AsyncResultSet.StreamMessageListener arg0)

public boolean initiateStreaming(AsyncResultSet.StreamMessageListener arg0)
Parameter
Name Description
arg0 StreamMessageListener
Returns
Type Description
boolean

next()

public boolean next()
Returns
Type Description
boolean
Exceptions
Type Description
SpannerException