Class ForwardingResultSet (6.82.0)

public class ForwardingResultSet extends ForwardingStructReader implements ProtobufResultSet, StreamingResultSet

Forwarding implementation of ResultSet that forwards all calls to a delegate.

Inheritance

java.lang.Object > ForwardingStructReader > ForwardingResultSet

Implements

ProtobufResultSet, com.google.cloud.spanner.StreamingResultSet

Constructors

ForwardingResultSet(ResultSet delegate)

public ForwardingResultSet(ResultSet delegate)
Parameter
Name Description
delegate ResultSet

ForwardingResultSet(Supplier<? extends ResultSet> supplier)

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

Methods

canGetProtobufValue(int columnIndex)

public boolean canGetProtobufValue(int columnIndex)

Returns true if the protobuf value for the given column is still available.

Parameter
Name Description
columnIndex int
Returns
Type Description
boolean