public enum ShadowOperationType extends Enum<ShadowOperationType>
| Enum Constant and Description |
|---|
DELETE
The shadow operation is delete.
|
HINT_MATCH
The shadow operation is SQL hint match.
|
INSERT
The shadow operation is insert.
|
SELECT
The shadow operation is select.
|
UPDATE
The shadow operation is update.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<ShadowOperationType> |
contains(String operationType)
Contains operation type.
|
static ShadowOperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShadowOperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShadowOperationType INSERT
public static final ShadowOperationType DELETE
public static final ShadowOperationType UPDATE
public static final ShadowOperationType SELECT
public static final ShadowOperationType HINT_MATCH
public static ShadowOperationType[] values()
for (ShadowOperationType c : ShadowOperationType.values()) System.out.println(c);
public static ShadowOperationType 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 static Optional<ShadowOperationType> contains(String operationType)
operationType - operation typeCopyright © 2023 The Apache Software Foundation. All rights reserved.