@API.Public public enum ChangeOp extends Enum<ChangeOp>
Enum Constant and Description |
---|
DELETE
All values older than or equal to the delete operation timestamp
were deleted.
|
DELETE_EXACT
The operation deleted the current field, or a version thereof, whose
timestamp was same as that of the current change node.
|
MERGE
The current (Map) field was merged with the specified value.
|
NULL
The current change node does not have an operation.
|
PUT
This operation added another version of the field into the store.
|
SET
The current field was set to the specified value
|
Modifier and Type | Method and Description |
---|---|
byte |
getCode()
Returns the numerical code of the enumeration.
|
static ChangeOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeOp NULL
public static final ChangeOp SET
public static final ChangeOp MERGE
public static final ChangeOp DELETE
public static final ChangeOp DELETE_EXACT
public static final ChangeOp PUT
public static ChangeOp[] values()
for (ChangeOp c : ChangeOp.values()) System.out.println(c);
public static ChangeOp 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 byte getCode()
Copyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.