7.0 Action Request System Java API

com.remedy.arsys.api
Class StatisticsResultInfo

java.lang.Object
  extended bycom.remedy.arsys.api.StatisticsResultInfo
All Implemented Interfaces:
java.io.Serializable

public class StatisticsResultInfo
extends java.lang.Object
implements java.io.Serializable

The StatisticsResultInfo class returns statistics (aggregates) for the form entries, and identifies which group-by values were used to compile the statistics.

See Also:
Serialized Form

Field Summary
static int AR_STAT_OP_AVERAGE
          Average value for each group
static int AR_STAT_OP_COUNT
          Total number of matching entries
static int AR_STAT_OP_MAXIMUM
          Maximum value for each group
static int AR_STAT_OP_MINIMUM
          Minimum value for each group
static int AR_STAT_OP_SUM
          Sum of values for each group
 
Method Summary
 Value[] getGroupByValues()
          Returns a list of the combination of all the values used to calculate the statistics (aggregates) for the form entries.
 Value getResult()
          Returns a real number of the statistics (aggregates) specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AR_STAT_OP_COUNT

public static final int AR_STAT_OP_COUNT
Total number of matching entries

See Also:
Constant Field Values

AR_STAT_OP_SUM

public static final int AR_STAT_OP_SUM
Sum of values for each group

See Also:
Constant Field Values

AR_STAT_OP_AVERAGE

public static final int AR_STAT_OP_AVERAGE
Average value for each group

See Also:
Constant Field Values

AR_STAT_OP_MINIMUM

public static final int AR_STAT_OP_MINIMUM
Minimum value for each group

See Also:
Constant Field Values

AR_STAT_OP_MAXIMUM

public static final int AR_STAT_OP_MAXIMUM
Maximum value for each group

See Also:
Constant Field Values
Method Detail

getGroupByValues

public Value[] getGroupByValues()
Returns a list of the combination of all the values used to calculate the statistics (aggregates) for the form entries.


getResult

public Value getResult()
Returns a real number of the statistics (aggregates) specified.


7.0 Action Request System Java API