Class ClientSideResultSet (0.22.1)

public class ClientSideResultSet extends ForwardingResultSet

Wrapper class for query results that are handled directly in PGAdapter.

Inheritance

java.lang.Object > com.google.cloud.spanner.ForwardingStructReader > com.google.cloud.spanner.ForwardingResultSet > ClientSideResultSet

Static Methods

forRows(Type type, Iterable<Struct> rows)

public static ResultSet forRows(Type type, Iterable<Struct> rows)
Parameters
NameDescription
typecom.google.cloud.spanner.Type
rowsIterable<com.google.cloud.spanner.Struct>
Returns
TypeDescription
com.google.cloud.spanner.ResultSet

Methods

getMetadata()

public ResultSetMetadata getMetadata()
Returns
TypeDescription
com.google.spanner.v1.ResultSetMetadata
Overrides
com.google.cloud.spanner.ForwardingResultSet.getMetadata()

getStats()

public ResultSetStats getStats()
Returns
TypeDescription
com.google.spanner.v1.ResultSetStats
Overrides
com.google.cloud.spanner.ForwardingResultSet.getStats()

getType()

public Type getType()
Returns
TypeDescription
com.google.cloud.spanner.Type
Overrides
com.google.cloud.spanner.ForwardingStructReader.getType()