Package io.tarantool.driver.protocol
Enum TarantoolRequestFieldType
- java.lang.Object
-
- java.lang.Enum<TarantoolRequestFieldType>
-
- io.tarantool.driver.protocol.TarantoolRequestFieldType
-
- All Implemented Interfaces:
Serializable
,Comparable<TarantoolRequestFieldType>
public enum TarantoolRequestFieldType extends Enum<TarantoolRequestFieldType>
All Tarantool request field codes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IPROTO_EXPRESSION
IPROTO_FUNCTION_NAME
IPROTO_INDEX_ID
IPROTO_ITERATOR
IPROTO_KEY
IPROTO_LIMIT
IPROTO_OFFSET
IPROTO_OPS
IPROTO_SPACE_ID
IPROTO_TUPLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static TarantoolRequestFieldType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TarantoolRequestFieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IPROTO_SPACE_ID
public static final TarantoolRequestFieldType IPROTO_SPACE_ID
-
IPROTO_INDEX_ID
public static final TarantoolRequestFieldType IPROTO_INDEX_ID
-
IPROTO_LIMIT
public static final TarantoolRequestFieldType IPROTO_LIMIT
-
IPROTO_OFFSET
public static final TarantoolRequestFieldType IPROTO_OFFSET
-
IPROTO_ITERATOR
public static final TarantoolRequestFieldType IPROTO_ITERATOR
-
IPROTO_KEY
public static final TarantoolRequestFieldType IPROTO_KEY
-
IPROTO_TUPLE
public static final TarantoolRequestFieldType IPROTO_TUPLE
-
IPROTO_FUNCTION_NAME
public static final TarantoolRequestFieldType IPROTO_FUNCTION_NAME
-
IPROTO_EXPRESSION
public static final TarantoolRequestFieldType IPROTO_EXPRESSION
-
IPROTO_OPS
public static final TarantoolRequestFieldType IPROTO_OPS
-
-
Method Detail
-
values
public static TarantoolRequestFieldType[] 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 (TarantoolRequestFieldType c : TarantoolRequestFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TarantoolRequestFieldType 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()
-
-