public interface CommitRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMaxCommitDelay()
public abstract Duration getMaxCommitDelay()
Optional. The amount of latency this request is willing to incur in order to improve throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a batching delay value between 0 and 500 ms.
.google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Duration |
The maxCommitDelay. |
getMaxCommitDelayOrBuilder()
public abstract DurationOrBuilder getMaxCommitDelayOrBuilder()
Optional. The amount of latency this request is willing to incur in order to improve throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a batching delay value between 0 and 500 ms.
.google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getMutations(int index)
public abstract Mutation getMutations(int index)
The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.
repeated .google.spanner.v1.Mutation mutations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Mutation |
getMutationsCount()
public abstract int getMutationsCount()
The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.
repeated .google.spanner.v1.Mutation mutations = 4;
Returns | |
---|---|
Type | Description |
int |
getMutationsList()
public abstract List<Mutation> getMutationsList()
The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.
repeated .google.spanner.v1.Mutation mutations = 4;
Returns | |
---|---|
Type | Description |
List<Mutation> |
getMutationsOrBuilder(int index)
public abstract MutationOrBuilder getMutationsOrBuilder(int index)
The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.
repeated .google.spanner.v1.Mutation mutations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MutationOrBuilder |
getMutationsOrBuilderList()
public abstract List<? extends MutationOrBuilder> getMutationsOrBuilderList()
The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.
repeated .google.spanner.v1.Mutation mutations = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.spanner.v1.MutationOrBuilder> |
getPrecommitToken()
public abstract MultiplexedSessionPrecommitToken getPrecommitToken()
Optional. If the read-write transaction was executed on a multiplexed session, the precommit token with the highest sequence number received in this transaction attempt, should be included here. Failing to do so will result in a FailedPrecondition error. This feature is not yet supported and will result in an UNIMPLEMENTED error.
.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MultiplexedSessionPrecommitToken |
The precommitToken. |
getPrecommitTokenOrBuilder()
public abstract MultiplexedSessionPrecommitTokenOrBuilder getPrecommitTokenOrBuilder()
Optional.