Enum AnalyticsAggregationType
- java.lang.Object
-
- java.lang.Enum<AnalyticsAggregationType>
-
- org.exoplatform.analytics.model.filter.aggregation.AnalyticsAggregationType
-
- All Implemented Interfaces:
Serializable,Comparable<AnalyticsAggregationType>
public enum AnalyticsAggregationType extends Enum<AnalyticsAggregationType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnalyticsAggregationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AnalyticsAggregationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUM
public static final AnalyticsAggregationType SUM
-
AVG
public static final AnalyticsAggregationType AVG
-
MAX
public static final AnalyticsAggregationType MAX
-
MIN
public static final AnalyticsAggregationType MIN
-
COUNT
public static final AnalyticsAggregationType COUNT
-
CARDINALITY
public static final AnalyticsAggregationType CARDINALITY
-
TERMS
public static final AnalyticsAggregationType TERMS
-
DATE
public static final AnalyticsAggregationType DATE
-
HISTOGRAM
public static final AnalyticsAggregationType HISTOGRAM
-
-
Method Detail
-
values
public static AnalyticsAggregationType[] 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 (AnalyticsAggregationType c : AnalyticsAggregationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalyticsAggregationType 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
-
-