Enum MutationWriter.CopyTransactionMode (0.21.0)

publicenumMutationWriter.CopyTransactionModeextendsEnum<MutationWriter.CopyTransactionMode>

Static Fields

Name Description
Explicit

There is an explicit transaction on the connection. The COPY will be part of that transaction.

ImplicitAtomic

'Normal' auto-commit mode. The entire COPY operation is atomic. If the number of mutations exceeds any of the transaction limits of Cloud Spanner, the COPY operation will fail.

ImplicitNonAtomic

The COPY operation is executed as a series of (partly parallel) transactions. The COPY operation is not atomic, and an error halfway the operation can mean that some data was persisted to the database.

Static Methods

Name Description
valueOf(String name)
values()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.