Package de.caluga.morphium.aggregation
Enum Aggregator.GeoNearFields
- java.lang.Object
-
- java.lang.Enum<Aggregator.GeoNearFields>
-
- de.caluga.morphium.aggregation.Aggregator.GeoNearFields
-
- All Implemented Interfaces:
Serializable,Comparable<Aggregator.GeoNearFields>
- Enclosing interface:
- Aggregator<T,R>
public static enum Aggregator.GeoNearFields extends Enum<Aggregator.GeoNearFields>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description distanceFielddistanceMultiplierincludeLocskeymaxDistanceminDistancenearquerysphericaluniqueDocs
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Aggregator.GeoNearFieldsvalueOf(String name)Returns the enum constant of this type with the specified name.static Aggregator.GeoNearFields[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
near
public static final Aggregator.GeoNearFields near
-
distanceField
public static final Aggregator.GeoNearFields distanceField
-
spherical
public static final Aggregator.GeoNearFields spherical
-
maxDistance
public static final Aggregator.GeoNearFields maxDistance
-
query
public static final Aggregator.GeoNearFields query
-
distanceMultiplier
public static final Aggregator.GeoNearFields distanceMultiplier
-
includeLocs
public static final Aggregator.GeoNearFields includeLocs
-
uniqueDocs
public static final Aggregator.GeoNearFields uniqueDocs
-
minDistance
public static final Aggregator.GeoNearFields minDistance
-
key
public static final Aggregator.GeoNearFields key
-
-
Method Detail
-
values
public static Aggregator.GeoNearFields[] 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 (Aggregator.GeoNearFields c : Aggregator.GeoNearFields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Aggregator.GeoNearFields 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
-
-