public enum AutocommitDmlMode extends Enum<AutocommitDmlMode>
| Enum Constant and Description |
|---|
PARTITIONED_NON_ATOMIC |
TRANSACTIONAL |
| Modifier and Type | Method and Description |
|---|---|
String |
getStatementString()
Use this method to get the correct format for use in a SQL statement.
|
static AutocommitDmlMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutocommitDmlMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutocommitDmlMode TRANSACTIONAL
public static final AutocommitDmlMode PARTITIONED_NON_ATOMIC
public static AutocommitDmlMode[] values()
for (AutocommitDmlMode c : AutocommitDmlMode.values()) System.out.println(c);
public static AutocommitDmlMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getStatementString()
SET AUTOCOMMIT_DML_MODE='TRANSACTIONAL' This method returns the value
without the single quotes.AutocommitDmlMode that can be used in a SQL
statement.Copyright © 2021 Google LLC. All rights reserved.