public enum GetOp extends java.lang.Enum<GetOp>
Cursor.get(java.lang.Object, org.lmdbjava.GetOp)
.
Unlike most other LMDB enums, this enum is not bit masked.
Enum Constant and Description |
---|
MDB_SET
Position at specified key.
|
MDB_SET_KEY
Position at specified key, return key + data.
|
MDB_SET_RANGE
Position at first key greater than or equal to specified key.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Obtain the integer code for use by LMDB C API.
|
static GetOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetOp MDB_SET
public static final GetOp MDB_SET_KEY
public static final GetOp MDB_SET_RANGE
public static GetOp[] values()
for (GetOp c : GetOp.values()) System.out.println(c);
public static GetOp valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
Copyright © 2016–2018 The LmdbJava Open Source Project. All rights reserved.