Package org.hpccsystems.commons.filter
Enum SQLFragment.FragmentType
- java.lang.Object
-
- java.lang.Enum<SQLFragment.FragmentType>
-
- org.hpccsystems.commons.filter.SQLFragment.FragmentType
-
- All Implemented Interfaces:
Serializable,Comparable<SQLFragment.FragmentType>
- Enclosing class:
- SQLFragment
public static enum SQLFragment.FragmentType extends Enum<SQLFragment.FragmentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATE_FUNCTIONBOOLEANCONTENT_MODIFIERFIELDFIELD_CONTENT_MODIFIERLISTLITERAL_STRINGNUMERIC_FRAGMENTPARAMETERIZEDUNKNOWN_TYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLFragment.FragmentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SQLFragment.FragmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_TYPE
public static final SQLFragment.FragmentType UNKNOWN_TYPE
-
NUMERIC_FRAGMENT
public static final SQLFragment.FragmentType NUMERIC_FRAGMENT
-
LITERAL_STRING
public static final SQLFragment.FragmentType LITERAL_STRING
-
PARAMETERIZED
public static final SQLFragment.FragmentType PARAMETERIZED
-
FIELD
public static final SQLFragment.FragmentType FIELD
-
LIST
public static final SQLFragment.FragmentType LIST
-
CONTENT_MODIFIER
public static final SQLFragment.FragmentType CONTENT_MODIFIER
-
FIELD_CONTENT_MODIFIER
public static final SQLFragment.FragmentType FIELD_CONTENT_MODIFIER
-
AGGREGATE_FUNCTION
public static final SQLFragment.FragmentType AGGREGATE_FUNCTION
-
BOOLEAN
public static final SQLFragment.FragmentType BOOLEAN
-
-
Method Detail
-
values
public static SQLFragment.FragmentType[] 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 (SQLFragment.FragmentType c : SQLFragment.FragmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLFragment.FragmentType 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
-
-