Package de.bwaldvogel.mongo.backend
Enum QueryOperator
- java.lang.Object
-
- java.lang.Enum<QueryOperator>
-
- de.bwaldvogel.mongo.backend.QueryOperator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<QueryOperator>
public enum QueryOperator extends java.lang.Enum<QueryOperator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLANDELEM_MATCHEQUALEXISTSGREATER_THANGREATER_THAN_OR_EQUALINLESS_THANLESS_THAN_OR_EQUALMODNOTNOT_EQUALSNOT_INORSIZETYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static QueryOperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QueryOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN
public static final QueryOperator IN
-
NOT_IN
public static final QueryOperator NOT_IN
-
NOT
public static final QueryOperator NOT
-
NOT_EQUALS
public static final QueryOperator NOT_EQUALS
-
EQUAL
public static final QueryOperator EQUAL
-
EXISTS
public static final QueryOperator EXISTS
-
GREATER_THAN_OR_EQUAL
public static final QueryOperator GREATER_THAN_OR_EQUAL
-
GREATER_THAN
public static final QueryOperator GREATER_THAN
-
LESS_THAN_OR_EQUAL
public static final QueryOperator LESS_THAN_OR_EQUAL
-
LESS_THAN
public static final QueryOperator LESS_THAN
-
MOD
public static final QueryOperator MOD
-
SIZE
public static final QueryOperator SIZE
-
AND
public static final QueryOperator AND
-
OR
public static final QueryOperator OR
-
ALL
public static final QueryOperator ALL
-
ELEM_MATCH
public static final QueryOperator ELEM_MATCH
-
TYPE
public static final QueryOperator TYPE
-
-
Method Detail
-
values
public static QueryOperator[] 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 (QueryOperator c : QueryOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
-