EspressReport 6.6

quadbase.util
Interface IAggregationInfo


public interface IAggregationInfo


Field Summary
static int AVG
           
static int COUNT
           
static int COUNTDISTINCT
           
static int FIRST
           
static int LAST
           
static int MAX
           
static int MAX_OPS
           
static int MIN
           
static int STDDEV
           
static int SUM
           
static int SUMSQUARE
           
static int VARIANCE
           
 
Method Summary
 int getAggregateOperator()
          Returns the primary aggregate operator used for drill-down.
 int getSecondaryAggregateOperator()
          Returns the secondary aggregate operator used for drill-down.
 boolean isAggregatedChart()
          This function is used to find out if the current chart is a histogram or not.
 void setAggregatedChart(boolean state)
          This function is used to set/unset the histogram option in a chart.
 void setAggregateOperator(int aggOp)
          Sets the primary aggregate operator to use when displaying summary charts.
 void setSecondaryAggregateOperator(int aggOp)
          Sets the secondary AggregateOperator to use when displaying summary charts.
 

Field Detail

MIN

static final int MIN
See Also:
Constant Field Values

MAX

static final int MAX
See Also:
Constant Field Values

AVG

static final int AVG
See Also:
Constant Field Values

SUM

static final int SUM
See Also:
Constant Field Values

COUNT

static final int COUNT
See Also:
Constant Field Values

FIRST

static final int FIRST
See Also:
Constant Field Values

LAST

static final int LAST
See Also:
Constant Field Values

SUMSQUARE

static final int SUMSQUARE
See Also:
Constant Field Values

VARIANCE

static final int VARIANCE
See Also:
Constant Field Values

STDDEV

static final int STDDEV
See Also:
Constant Field Values

COUNTDISTINCT

static final int COUNTDISTINCT
See Also:
Constant Field Values

MAX_OPS

static final int MAX_OPS
See Also:
Constant Field Values
Method Detail

isAggregatedChart

boolean isAggregatedChart()
This function is used to find out if the current chart is a histogram or not.

Returns:
True if the chart is a histogram, false otherwise.

setAggregatedChart

void setAggregatedChart(boolean state)
This function is used to set/unset the histogram option in a chart.

Parameters:
histState - Set it to true if a histogram plot is required.

setAggregateOperator

void setAggregateOperator(int aggOp)
Sets the primary aggregate operator to use when displaying summary charts.

Parameters:
aggOp - The input primary aggregate operator, one of:
 IDrillDown.SUM
        IDrillDown.AVG
 IDrillDown.MIN
 IDrillDown.MAX
 IDrillDown.COUNT
 

getAggregateOperator

int getAggregateOperator()
Returns the primary aggregate operator used for drill-down.

Returns:
The primary aggregate operator used in drill-down.

setSecondaryAggregateOperator

void setSecondaryAggregateOperator(int aggOp)
Sets the secondary AggregateOperator to use when displaying summary charts.

Parameters:
aggOp - The input secondary aggregate operator.
See Also:
IDrillDown.setAggregateOperator(int)

getSecondaryAggregateOperator

int getSecondaryAggregateOperator()
Returns the secondary aggregate operator used for drill-down.

Returns:
The secondary aggregate operator used in drill-down.

EspressReport 6.6