public interface TransactionSelectorOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
TransactionOptions |
getBegin()
Begin a new transaction and execute this read or SQL query in
it.
|
TransactionOptionsOrBuilder |
getBeginOrBuilder()
Begin a new transaction and execute this read or SQL query in
it.
|
ByteString |
getId()
Execute the read or SQL query in a previously-started transaction.
|
TransactionSelector.SelectorCase |
getSelectorCase() |
TransactionOptions |
getSingleUse()
Execute the read or SQL query in a temporary transaction.
|
TransactionOptionsOrBuilder |
getSingleUseOrBuilder()
Execute the read or SQL query in a temporary transaction.
|
boolean |
hasBegin()
Begin a new transaction and execute this read or SQL query in
it.
|
boolean |
hasId()
Execute the read or SQL query in a previously-started transaction.
|
boolean |
hasSingleUse()
Execute the read or SQL query in a temporary transaction.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasSingleUse()
Execute the read or SQL query in a temporary transaction. This is the most efficient way to execute a transaction that consists of a single SQL query.
.google.spanner.v1.TransactionOptions single_use = 1;
TransactionOptions getSingleUse()
Execute the read or SQL query in a temporary transaction. This is the most efficient way to execute a transaction that consists of a single SQL query.
.google.spanner.v1.TransactionOptions single_use = 1;
TransactionOptionsOrBuilder getSingleUseOrBuilder()
Execute the read or SQL query in a temporary transaction. This is the most efficient way to execute a transaction that consists of a single SQL query.
.google.spanner.v1.TransactionOptions single_use = 1;
boolean hasId()
Execute the read or SQL query in a previously-started transaction.
bytes id = 2;
ByteString getId()
Execute the read or SQL query in a previously-started transaction.
bytes id = 2;
boolean hasBegin()
Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in [ResultSetMetadata.transaction][google.spanner.v1.ResultSetMetadata.transaction], which is a [Transaction][google.spanner.v1.Transaction].
.google.spanner.v1.TransactionOptions begin = 3;
TransactionOptions getBegin()
Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in [ResultSetMetadata.transaction][google.spanner.v1.ResultSetMetadata.transaction], which is a [Transaction][google.spanner.v1.Transaction].
.google.spanner.v1.TransactionOptions begin = 3;
TransactionOptionsOrBuilder getBeginOrBuilder()
Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in [ResultSetMetadata.transaction][google.spanner.v1.ResultSetMetadata.transaction], which is a [Transaction][google.spanner.v1.Transaction].
.google.spanner.v1.TransactionOptions begin = 3;
TransactionSelector.SelectorCase getSelectorCase()
Copyright © 2022 Google LLC. All rights reserved.