Serializable
, Comparable<SplittablePayload.Type>
public static enum SplittablePayload.Type extends Enum<SplittablePayload.Type>
Enum Constant | Description |
---|---|
DELETE |
A delete.
|
INSERT |
An insert.
|
REPLACE |
An update that replaces the existing document.
|
UPDATE |
An update that uses update operators.
|
Modifier and Type | Method | Description |
---|---|---|
static SplittablePayload.Type |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SplittablePayload.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplittablePayload.Type INSERT
public static final SplittablePayload.Type UPDATE
public static final SplittablePayload.Type REPLACE
public static final SplittablePayload.Type DELETE
public static SplittablePayload.Type[] values()
for (SplittablePayload.Type c : SplittablePayload.Type.values()) System.out.println(c);
public static SplittablePayload.Type 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 null