Package org.rocksdb
Enum WBWIRocksIterator.WriteType
- java.lang.Object
-
- java.lang.Enum<WBWIRocksIterator.WriteType>
-
- org.rocksdb.WBWIRocksIterator.WriteType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WBWIRocksIterator.WriteType>
- Enclosing class:
- WBWIRocksIterator
public static enum WBWIRocksIterator.WriteType extends java.lang.Enum<WBWIRocksIterator.WriteType>
Enumeration of the Write operation that created the record in the Write Batch
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETEDELETE_RANGELOGMERGEPUTSINGLE_DELETEXID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WBWIRocksIterator.WriteTypefromId(byte id)static WBWIRocksIterator.WriteTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WBWIRocksIterator.WriteType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUT
public static final WBWIRocksIterator.WriteType PUT
-
MERGE
public static final WBWIRocksIterator.WriteType MERGE
-
DELETE
public static final WBWIRocksIterator.WriteType DELETE
-
SINGLE_DELETE
public static final WBWIRocksIterator.WriteType SINGLE_DELETE
-
DELETE_RANGE
public static final WBWIRocksIterator.WriteType DELETE_RANGE
-
LOG
public static final WBWIRocksIterator.WriteType LOG
-
XID
public static final WBWIRocksIterator.WriteType XID
-
-
Method Detail
-
values
public static WBWIRocksIterator.WriteType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WBWIRocksIterator.WriteType c : WBWIRocksIterator.WriteType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WBWIRocksIterator.WriteType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromId
public static WBWIRocksIterator.WriteType fromId(byte id)
-
-