Enum RestQueryRequest.QueryType
- java.lang.Object
-
- java.lang.Enum<RestQueryRequest.QueryType>
-
- org.apache.ignite.internal.processors.rest.request.RestQueryRequest.QueryType
-
- All Implemented Interfaces:
Serializable,Comparable<RestQueryRequest.QueryType>
- Enclosing class:
- RestQueryRequest
public static enum RestQueryRequest.QueryType extends Enum<RestQueryRequest.QueryType>
Supported query types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SCANScan query.SQLSql query.SQL_FIELDSSql fields query.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RestQueryRequest.QueryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RestQueryRequest.QueryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SQL
public static final RestQueryRequest.QueryType SQL
Sql query.
-
SQL_FIELDS
public static final RestQueryRequest.QueryType SQL_FIELDS
Sql fields query.
-
SCAN
public static final RestQueryRequest.QueryType SCAN
Scan query.
-
-
Method Detail
-
values
public static RestQueryRequest.QueryType[] 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 (RestQueryRequest.QueryType c : RestQueryRequest.QueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestQueryRequest.QueryType 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
-
-