Package com.querydsl.mongodb
Enum MongodbOps
- java.lang.Object
-
- java.lang.Enum<MongodbOps>
-
- com.querydsl.mongodb.MongodbOps
-
- All Implemented Interfaces:
Operator,java.io.Serializable,java.lang.Comparable<MongodbOps>
public enum MongodbOps extends java.lang.Enum<MongodbOps> implements Operator
MongoDB specific operators- Author:
- tiwe, sangyong choi
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLELEM_MATCHGEO_INTERSECTSGEO_WITHIN_BOXNEARNEAR_SPHERENO_MATCH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getType()static MongodbOpsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MongodbOps[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEAR
public static final MongodbOps NEAR
-
GEO_WITHIN_BOX
public static final MongodbOps GEO_WITHIN_BOX
-
ELEM_MATCH
public static final MongodbOps ELEM_MATCH
-
NO_MATCH
public static final MongodbOps NO_MATCH
-
NEAR_SPHERE
public static final MongodbOps NEAR_SPHERE
-
GEO_INTERSECTS
public static final MongodbOps GEO_INTERSECTS
-
ALL
public static final MongodbOps ALL
-
-
Method Detail
-
values
public static MongodbOps[] 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 (MongodbOps c : MongodbOps.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MongodbOps 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
-
-