Package quadbase.util
Interface IAggregationInfo
public interface IAggregationInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionintReturns the primary aggregate operator used for drill-down.intReturns the secondary aggregate operator used for drill-down.booleanThis function is used to find out if the current chart is a histogram or not.voidsetAggregatedChart(boolean state) This function is used to set/unset the histogram option in a chart.voidsetAggregateOperator(int aggOp) Sets the primary aggregate operator to use when displaying summary charts.voidsetSecondaryAggregateOperator(int aggOp) Sets the secondary AggregateOperator to use when displaying summary charts.
-
Field Details
-
MIN
static final int MIN- See Also:
-
MAX
static final int MAX- See Also:
-
AVG
static final int AVG- See Also:
-
SUM
static final int SUM- See Also:
-
COUNT
static final int COUNT- See Also:
-
FIRST
static final int FIRST- See Also:
-
LAST
static final int LAST- See Also:
-
SUMSQUARE
static final int SUMSQUARE- See Also:
-
VARIANCE
static final int VARIANCE- See Also:
-
STDDEV
static final int STDDEV- See Also:
-
COUNTDISTINCT
static final int COUNTDISTINCT- See Also:
-
MAX_OPS
static final int MAX_OPS- See Also:
-
-
Method Details
-
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:
-
getSecondaryAggregateOperator
int getSecondaryAggregateOperator()Returns the secondary aggregate operator used for drill-down.- Returns:
- The secondary aggregate operator used in drill-down.
-