Enum AggregationType
- All Implemented Interfaces:
Serializable
,Comparable<AggregationType>
,java.lang.constant.Constable
public enum AggregationType extends Enum<AggregationType>
Deprecated.
This class has been replaced by the top-level version in
com.ibm.watson.discovery.query.
Aggregation types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description AVERAGE
Deprecated.The average.FILTER
Deprecated.The filter.HISTOGRAM
Deprecated.The histogram.MAX
Deprecated.The max.MIN
Deprecated.The min.NESTED
Deprecated.The nested.SUM
Deprecated.The sum.TERM
Deprecated.The term.TIMESLICE
Deprecated.The timeslice.TOP_HITS
Deprecated.The top hits.UNIQUE_COUNT
Deprecated.The unique count. -
Method Summary
Modifier and Type Method Description String
getName()
Deprecated.Gets the name.String
toString()
Deprecated.To string.static AggregationType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static AggregationType
valueOfIgnoreCase(String value)
Deprecated.Value of ignore case.static AggregationType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
TERM
Deprecated.The term. -
FILTER
Deprecated.The filter. -
NESTED
Deprecated.The nested. -
HISTOGRAM
Deprecated.The histogram. -
TIMESLICE
Deprecated.The timeslice. -
TOP_HITS
Deprecated.The top hits. -
UNIQUE_COUNT
Deprecated.The unique count. -
MAX
Deprecated.The max. -
MIN
Deprecated.The min. -
AVERAGE
Deprecated.The average. -
SUM
Deprecated.The sum.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.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
-
getName
Deprecated.Gets the name.- Returns:
- the name
-
valueOfIgnoreCase
Deprecated.Value of ignore case.- Parameters:
value
- the value- Returns:
- the aggregation type
- Throws:
IllegalArgumentException
- the illegal argument exception
-
toString
Deprecated.To string.- Overrides:
toString
in classEnum<AggregationType>
- Returns:
- the string
-