public enum EnlistOperation extends Enum<EnlistOperation>
| Enum Constant and Description |
|---|
DELETE
This operation deletes existing entry or does nothing if entry does not exist.
|
INSERT
This operation creates entry if it does not exist or raises visible failure otherwise.
|
LOCK
This operation locks existing entry protecting it from updates by other transactions
or does notrhing if entry does not exist.
|
TRANSFORM
This operation applies entry transformer.
|
UPDATE
This operation modifies existing entry or does nothing if entry does not exist.
|
UPSERT
This operation creates entry if it does not exist or modifies existing one otherwise.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheOperation |
cacheOperation() |
static @Nullable EnlistOperation |
fromOrdinal(int ord) |
boolean |
isDeleteOrLock() |
boolean |
isInvoke() |
boolean |
noCreate()
Indicates that an operation cannot create new row.
|
static EnlistOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnlistOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnlistOperation INSERT
public static final EnlistOperation UPSERT
public static final EnlistOperation UPDATE
public static final EnlistOperation DELETE
public static final EnlistOperation LOCK
public static final EnlistOperation TRANSFORM
public static EnlistOperation[] values()
for (EnlistOperation c : EnlistOperation.values()) System.out.println(c);
public static EnlistOperation 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 GridCacheOperation cacheOperation()
public boolean isDeleteOrLock()
public boolean isInvoke()
public boolean noCreate()
@Nullable public static @Nullable EnlistOperation fromOrdinal(int ord)
ord - Ordinal value.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021