public interface ResultSetMetadataOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
StructType |
getRowType()
Indicates the field names and types for the rows in the result
set.
|
StructTypeOrBuilder |
getRowTypeOrBuilder()
Indicates the field names and types for the rows in the result
set.
|
Transaction |
getTransaction()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
TransactionOrBuilder |
getTransactionOrBuilder()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
boolean |
hasRowType()
Indicates the field names and types for the rows in the result
set.
|
boolean |
hasTransaction()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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;
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;
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;
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;
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;
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;
Copyright © 2022 Google LLC. All rights reserved.