Package io.tarantool.driver.protocol
Enum TarantoolIteratorType
- java.lang.Object
-
- java.lang.Enum<TarantoolIteratorType>
-
- io.tarantool.driver.protocol.TarantoolIteratorType
-
- All Implemented Interfaces:
Serializable
,Comparable<TarantoolIteratorType>
public enum TarantoolIteratorType extends Enum<TarantoolIteratorType>
Represents all types of Tarantool iterators.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TarantoolIteratorType
defaultIterator()
Returns the default iterator type (EQ iterator)int
getCode()
String
getStringCode()
TarantoolIteratorType
reverse()
static TarantoolIteratorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TarantoolIteratorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ITER_EQ
public static final TarantoolIteratorType ITER_EQ
-
ITER_REQ
public static final TarantoolIteratorType ITER_REQ
-
ITER_ALL
public static final TarantoolIteratorType ITER_ALL
-
ITER_LT
public static final TarantoolIteratorType ITER_LT
-
ITER_LE
public static final TarantoolIteratorType ITER_LE
-
ITER_GE
public static final TarantoolIteratorType ITER_GE
-
ITER_GT
public static final TarantoolIteratorType ITER_GT
-
-
Method Detail
-
values
public static TarantoolIteratorType[] 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 (TarantoolIteratorType c : TarantoolIteratorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TarantoolIteratorType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
-
getStringCode
public String getStringCode()
-
reverse
public TarantoolIteratorType reverse()
-
defaultIterator
public static TarantoolIteratorType defaultIterator()
Returns the default iterator type (EQ iterator)- Returns:
- EQ iterator
-
-