Package mil.nga.geopackage.user
Enum UserQueryParamType
- java.lang.Object
-
- java.lang.Enum<UserQueryParamType>
-
- mil.nga.geopackage.user.UserQueryParamType
-
- All Implemented Interfaces:
Serializable,Comparable<UserQueryParamType>
public enum UserQueryParamType extends Enum<UserQueryParamType>
User Query parameter types- Since:
- 2.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserQueryParamTypevalueOf(String name)Returns the enum constant of this type with the specified name.static UserQueryParamType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SQL
public static final UserQueryParamType SQL
Raw SQL string
-
DISTINCT
public static final UserQueryParamType DISTINCT
Distinct flag
-
TABLE
public static final UserQueryParamType TABLE
Table name
-
COLUMNS
public static final UserQueryParamType COLUMNS
Column names
-
COLUMNS_AS
public static final UserQueryParamType COLUMNS_AS
Columns as values
-
SELECTION
public static final UserQueryParamType SELECTION
Selection
-
SELECTION_ARGS
public static final UserQueryParamType SELECTION_ARGS
Selection arguments
-
GROUP_BY
public static final UserQueryParamType GROUP_BY
Group by
-
HAVING
public static final UserQueryParamType HAVING
Having
-
ORDER_BY
public static final UserQueryParamType ORDER_BY
Order by
-
LIMIT
public static final UserQueryParamType LIMIT
Limit
-
-
Method Detail
-
values
public static UserQueryParamType[] 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 (UserQueryParamType c : UserQueryParamType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserQueryParamType 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
-
-