com.klg.jclass.higrid
Class AggregateFirst
java.lang.Object
|
+--com.klg.jclass.higrid.BaseAggregate
|
+--com.klg.jclass.higrid.AggregateFirst
- All Implemented Interfaces:
- Aggregate, Serializable
- public class AggregateFirst
- extends BaseAggregate
Implements the AggregateFirst
type.
- See Also:
- Serialized Form
Constructor Summary |
AggregateFirst(com.klg.jclass.higrid.SummaryColumn column)
Creates an Aggregate that is the first of the elements in a column. |
Method Summary |
void |
calculate(com.klg.jclass.higrid.RowNode rowNode)
Perform the aggregation. |
boolean |
done()
Determine if aggregation is done. |
Methods inherited from class com.klg.jclass.higrid.BaseAggregate |
addValue, cacheResultData, divideValue, getDoubleValue, getLongValue, getResultData, getRowNodeResultData, init, isSameMetaID, nextLevel, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregateFirst
public AggregateFirst(com.klg.jclass.higrid.SummaryColumn column)
- Creates an Aggregate that is the first 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.
done
public boolean done()
- Determine if aggregation is done.
- Specified by:
done
in interface Aggregate
- Overrides:
done
in class BaseAggregate
- Returns:
- True if done.