public enum ConsistentSnapshotEngine extends Enum<ConsistentSnapshotEngine>
START TRANSACTION WITH CONSISTENT [engine] SNAPSHOT for Facebook/MySQL or similar
syntax.| Modifier and Type | Method and Description |
|---|---|
String |
asSql() |
static ConsistentSnapshotEngine |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsistentSnapshotEngine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsistentSnapshotEngine ROCKSDB
public static final ConsistentSnapshotEngine INNODB
public static ConsistentSnapshotEngine[] values()
for (ConsistentSnapshotEngine c : ConsistentSnapshotEngine.values()) System.out.println(c);
public static ConsistentSnapshotEngine 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 asSql()
Copyright © 2018–2023 asyncer.io. All rights reserved.