public static enum DBCursor.PositionStrategy extends Enum<DBCursor.PositionStrategy>
Enum Constant and Description |
---|
EQUAL_TO_KEY
Positions the cursor on the requested key if it exists.
|
GREATER_THAN_KEY
Positions the cursor on the nearest key which is greater than the requested key.
|
GREATER_THAN_OR_EQUAL_TO_KEY
Positions the cursor on the nearest existing key which is greater than or equal to the requested key.
|
LESS_THAN_OR_EQUAL_TO_KEY
Positions the cursor on the nearest existing key which is less than or equal to the requested key.
|
Modifier and Type | Method and Description |
---|---|
static DBCursor.PositionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBCursor.PositionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBCursor.PositionStrategy LESS_THAN_OR_EQUAL_TO_KEY
public static final DBCursor.PositionStrategy EQUAL_TO_KEY
public static final DBCursor.PositionStrategy GREATER_THAN_OR_EQUAL_TO_KEY
public static final DBCursor.PositionStrategy GREATER_THAN_KEY
public static DBCursor.PositionStrategy[] values()
for (DBCursor.PositionStrategy c : DBCursor.PositionStrategy.values()) System.out.println(c);
public static DBCursor.PositionStrategy 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 nullCopyright 2010-2020 ForgeRock AS.