Enum AggregationType

java.lang.Object
java.lang.Enum<AggregationType>
com.ibm.watson.discovery.v1.query.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.
  • Enum Constant Details

    • TERM

      public static final AggregationType TERM
      Deprecated.
      The term.
    • FILTER

      public static final AggregationType FILTER
      Deprecated.
      The filter.
    • NESTED

      public static final AggregationType NESTED
      Deprecated.
      The nested.
    • HISTOGRAM

      public static final AggregationType HISTOGRAM
      Deprecated.
      The histogram.
    • TIMESLICE

      public static final AggregationType TIMESLICE
      Deprecated.
      The timeslice.
    • TOP_HITS

      public static final AggregationType TOP_HITS
      Deprecated.
      The top hits.
    • UNIQUE_COUNT

      public static final AggregationType UNIQUE_COUNT
      Deprecated.
      The unique count.
    • MAX

      public static final AggregationType MAX
      Deprecated.
      The max.
    • MIN

      public static final AggregationType MIN
      Deprecated.
      The min.
    • AVERAGE

      public static final AggregationType AVERAGE
      Deprecated.
      The average.
    • SUM

      public static final AggregationType SUM
      Deprecated.
      The sum.
  • Method Details

    • values

      public static AggregationType[] 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

      public static AggregationType valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Deprecated.
      Gets the name.
      Returns:
      the name
    • valueOfIgnoreCase

      public static AggregationType valueOfIgnoreCase​(String value) throws IllegalArgumentException
      Deprecated.
      Value of ignore case.
      Parameters:
      value - the value
      Returns:
      the aggregation type
      Throws:
      IllegalArgumentException - the illegal argument exception
    • toString

      public String toString()
      Deprecated.
      To string.
      Overrides:
      toString in class Enum<AggregationType>
      Returns:
      the string