Package com.pullreports.export.request
Enum Operator
- Object
-
- Enum<Operator>
-
- com.pullreports.export.request.Operator
-
- All Implemented Interfaces:
java.io.Serializable
,Comparable<Operator>
public enum Operator extends Enum<Operator>
The Operator Enum represents the available Operators for the filter parameter in the Pull Reports Export Report REST API.- See Also:
PreFilter
,FilterClause
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETWEEN
EQUALS
GREATER_THAN
GREATER_THAN_OR_EQUALS
IN
IS_NOT_NULL
IS_NULL
LESS_THAN
LESS_THAN_OR_EQUALS
LIKE
NOT_EQUALS
NOT_EQUALS_ALT
NOT_IN
NOT_LIKE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Operator
fromString(String type)
boolean
getRequiresValues()
String
toString()
static Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final Operator EQUALS
-
NOT_EQUALS
public static final Operator NOT_EQUALS
-
NOT_EQUALS_ALT
public static final Operator NOT_EQUALS_ALT
-
LESS_THAN
public static final Operator LESS_THAN
-
GREATER_THAN
public static final Operator GREATER_THAN
-
LESS_THAN_OR_EQUALS
public static final Operator LESS_THAN_OR_EQUALS
-
GREATER_THAN_OR_EQUALS
public static final Operator GREATER_THAN_OR_EQUALS
-
LIKE
public static final Operator LIKE
-
NOT_LIKE
public static final Operator NOT_LIKE
-
BETWEEN
public static final Operator BETWEEN
-
IN
public static final Operator IN
-
NOT_IN
public static final Operator NOT_IN
-
IS_NULL
public static final Operator IS_NULL
-
IS_NOT_NULL
public static final Operator IS_NOT_NULL
-
-
Method Detail
-
values
public static Operator[] 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 (Operator c : Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Operator 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
-
fromString
public static Operator fromString(String type)
-
getRequiresValues
public boolean getRequiresValues()
-
toString
public String toString()
- Overrides:
toString
in classEnum<Operator>
-
-