Package org.mongojack
Enum Aggregation.Group.Op
- java.lang.Object
-
- java.lang.Enum<Aggregation.Group.Op>
-
- org.mongojack.Aggregation.Group.Op
-
- All Implemented Interfaces:
Serializable
,Comparable<Aggregation.Group.Op>
- Enclosing class:
- Aggregation.Group
public static enum Aggregation.Group.Op extends Enum<Aggregation.Group.Op>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Aggregation.Group.Op
valueOf(String name)
Returns the enum constant of this type with the specified name.static Aggregation.Group.Op[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
$addToSet
public static final Aggregation.Group.Op $addToSet
-
$avg
public static final Aggregation.Group.Op $avg
-
$first
public static final Aggregation.Group.Op $first
-
$last
public static final Aggregation.Group.Op $last
-
$max
public static final Aggregation.Group.Op $max
-
$min
public static final Aggregation.Group.Op $min
-
$push
public static final Aggregation.Group.Op $push
-
$sum
public static final Aggregation.Group.Op $sum
-
-
Method Detail
-
values
public static Aggregation.Group.Op[] 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 (Aggregation.Group.Op c : Aggregation.Group.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Aggregation.Group.Op 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
-
-