public final class ResultSetMetadata extends GeneratedMessageV3 implements ResultSetMetadataOrBuilder
Metadata about a ResultSet or PartialResultSet.
Protobuf type google.spanner.v1.ResultSetMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ResultSetMetadataImplements
ResultSetMetadataOrBuilderFields
ROW_TYPE_FIELD_NUMBER
public static final int ROW_TYPE_FIELD_NUMBER
Type | Description |
int |
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static ResultSetMetadata getDefaultInstance()
Type | Description |
ResultSetMetadata |
getDefaultInstanceForType()
public ResultSetMetadata getDefaultInstanceForType()
Type | Description |
ResultSetMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<ResultSetMetadata> getParserForType()
Type | Description |
Parser<ResultSetMetadata> |
getRowType()
public StructType getRowType()
Indicates the field names and types for the rows in the result
set. For example, a SQL query like "SELECT UserId, UserName FROM
Users"
could return a row_type
value like:
"fields": [
{ "name": "UserId", "type": { "code": "INT64" } },
{ "name": "UserName", "type": { "code": "STRING" } },
]
.google.spanner.v1.StructType row_type = 1;
Type | Description |
StructType | The rowType. |
getRowTypeOrBuilder()
public StructTypeOrBuilder getRowTypeOrBuilder()
Indicates the field names and types for the rows in the result
set. For example, a SQL query like "SELECT UserId, UserName FROM
Users"
could return a row_type
value like:
"fields": [
{ "name": "UserId", "type": { "code": "INT64" } },
{ "name": "UserName", "type": { "code": "STRING" } },
]
.google.spanner.v1.StructType row_type = 1;
Type | Description |
StructTypeOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTransaction()
public Transaction getTransaction()
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
Type | Description |
Transaction | The transaction. |
getTransactionOrBuilder()
public TransactionOrBuilder getTransactionOrBuilder()
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
Type | Description |
TransactionOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasRowType()
public boolean hasRowType()
Indicates the field names and types for the rows in the result
set. For example, a SQL query like "SELECT UserId, UserName FROM
Users"
could return a row_type
value like:
"fields": [
{ "name": "UserId", "type": { "code": "INT64" } },
{ "name": "UserName", "type": { "code": "STRING" } },
]
.google.spanner.v1.StructType row_type = 1;
Type | Description |
boolean | Whether the rowType field is set. |
hasTransaction()
public boolean hasTransaction()
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
Type | Description |
boolean | Whether the transaction field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static ResultSetMetadata.Builder newBuilder()
Type | Description |
ResultSetMetadata.Builder |
newBuilder(ResultSetMetadata prototype)
public static ResultSetMetadata.Builder newBuilder(ResultSetMetadata prototype)
Name | Description |
prototype | ResultSetMetadata |
Type | Description |
ResultSetMetadata.Builder |
newBuilderForType()
public ResultSetMetadata.Builder newBuilderForType()
Type | Description |
ResultSetMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResultSetMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ResultSetMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static ResultSetMetadata parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ResultSetMetadata |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResultSetMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetMetadata |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ResultSetMetadata parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ResultSetMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResultSetMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ResultSetMetadata parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ResultSetMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResultSetMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ResultSetMetadata parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ResultSetMetadata |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResultSetMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetMetadata |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ResultSetMetadata parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ResultSetMetadata |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResultSetMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetMetadata |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ResultSetMetadata parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ResultSetMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResultSetMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetMetadata |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ResultSetMetadata> parser()
Type | Description |
Parser<ResultSetMetadata> |
toBuilder()
public ResultSetMetadata.Builder toBuilder()
Type | Description |
ResultSetMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |