com.klg.jclass.higrid
Class AggregateCount
java.lang.Object
|
+--com.klg.jclass.higrid.BaseAggregate
|
+--com.klg.jclass.higrid.AggregateCount
- All Implemented Interfaces:
- Aggregate, Serializable
- public class AggregateCount
- extends BaseAggregate
Implements the AggregateCount
type.
- See Also:
- Serialized Form
Constructor Summary |
AggregateCount(com.klg.jclass.higrid.SummaryColumn column)
Creates an Aggregate that is the count of the elements in a column. |
Method Summary |
void |
calculate(com.klg.jclass.higrid.RowNode rowNode)
Perform the aggregation. |
Object |
getResultData()
Returns the result data as an Object. |
Methods inherited from class com.klg.jclass.higrid.BaseAggregate |
addValue, cacheResultData, divideValue, done, getDoubleValue, getLongValue, getRowNodeResultData, init, isSameMetaID, nextLevel, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregateCount
public AggregateCount(com.klg.jclass.higrid.SummaryColumn column)
- Creates an Aggregate that is the count of the elements in a column.
calculate
public void calculate(com.klg.jclass.higrid.RowNode rowNode)
- Perform the aggregation.
- Specified by:
calculate
in interface Aggregate
- Specified by:
calculate
in class BaseAggregate
- Parameters:
rowNode
- The row node.
getResultData
public Object getResultData()
- Returns the result data as an Object.
- Specified by:
getResultData
in interface Aggregate
- Overrides:
getResultData
in class BaseAggregate
- Returns:
- The result data.