JClass DesktopViews 6.3.0 API
Documentation

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

Field Summary
 
Fields inherited from class com.klg.jclass.higrid.BaseAggregate
bigDecimal, column, doubleValue, longValue, metaID
 
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
 

Constructor Detail

AggregateFirst

public AggregateFirst(com.klg.jclass.higrid.SummaryColumn column)
Creates an Aggregate that is the first of the elements in a column.

Method Detail

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.

Copyright © 2004 Quest Software Inc..
All rights reserved.