Class PartialResultSet (6.77.0)

public final class PartialResultSet extends GeneratedMessageV3 implements PartialResultSetOrBuilder

Partial results from a streaming read or SQL query. Streaming reads and SQL queries better tolerate large result sets, large rows, and large values, but are a little trickier to consume.

Protobuf type google.spanner.v1.PartialResultSet

Static Fields

CHUNKED_VALUE_FIELD_NUMBER

public static final int CHUNKED_VALUE_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

RESUME_TOKEN_FIELD_NUMBER

public static final int RESUME_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

STATS_FIELD_NUMBER

public static final int STATS_FIELD_NUMBER
Field Value
Type Description
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PartialResultSet getDefaultInstance()
Returns
Type Description
PartialResultSet

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PartialResultSet.Builder newBuilder()
Returns
Type Description
PartialResultSet.Builder

newBuilder(PartialResultSet prototype)

public static PartialResultSet.Builder newBuilder(PartialResultSet prototype)
Parameter
Name Description
prototype PartialResultSet
Returns
Type Description
PartialResultSet.Builder

parseDelimitedFrom(InputStream input)

public static PartialResultSet parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PartialResultSet
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartialResultSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialResultSet
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PartialResultSet parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PartialResultSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PartialResultSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialResultSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PartialResultSet parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PartialResultSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PartialResultSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartialResultSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PartialResultSet parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PartialResultSet
Exceptions