Class ForwardingResultSet (2.22.1)

public class ForwardingResultSet extends ForwardingStructReader implements ProtobufResultSet

Inheritance

java.lang.Object > ForwardingStructReader > ForwardingResultSet

Implements

ProtobufResultSet

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

next()

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