com.splunk
Enum StatsFunction

java.lang.Object
  extended by java.lang.Enum<StatsFunction>
      extended by com.splunk.StatsFunction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StatsFunction>

public enum StatsFunction
extends java.lang.Enum<StatsFunction>


Enum Constant Summary
AVERAGE
           
COUNT
           
DISTINCT_COUNT
           
DISTINCT_VALUES
           
DURATION
           
EARLIEST
           
FIRST
           
LAST
           
LATEST
           
LIST
           
MAX
           
MIN
           
STDEV
           
SUM
           
 
Method Summary
static StatsFunction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StatsFunction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LIST

public static final StatsFunction LIST

DISTINCT_VALUES

public static final StatsFunction DISTINCT_VALUES

FIRST

public static final StatsFunction FIRST

LAST

public static final StatsFunction LAST

COUNT

public static final StatsFunction COUNT

DISTINCT_COUNT

public static final StatsFunction DISTINCT_COUNT

SUM

public static final StatsFunction SUM

AVERAGE

public static final StatsFunction AVERAGE

MAX

public static final StatsFunction MAX

MIN

public static final StatsFunction MIN

STDEV

public static final StatsFunction STDEV

DURATION

public static final StatsFunction DURATION

EARLIEST

public static final StatsFunction EARLIEST

LATEST

public static final StatsFunction LATEST
Method Detail

values

public static StatsFunction[] 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 (StatsFunction c : StatsFunction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StatsFunction valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null