|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DatabaseAggregator
DatabaseAggregator includes methods that allow the evaluation of the aggregate rows of a TreeTableModel in batches.
| Method Summary | |
|---|---|
Object |
getAggregateObject(Object aggregateObject,
int column)
Returns the Object found at column of aggregateObject
passed as a parameter. |
List |
getAggregateValues(AggregateRow parent,
int from,
int to)
Calculates and returns the aggregate values of the children of parent
in the range from - to. |
List |
prepareValues(AggregateRow parent,
int from,
int to)
This method retrieves the aggregate values for the children of parent
in the range from - to, and assigns them on the treeModel. |
| Methods inherited from interface com.sciapp.treetable.Aggregator |
|---|
getAggregateValue, prepareValue |
| Method Detail |
|---|
Object getAggregateObject(Object aggregateObject,
int column)
column of aggregateObject
passed as a parameter.
aggregateObject - the aggregate object as it was received from the fetch database callcolumn - the column index
column
List getAggregateValues(AggregateRow parent,
int from,
int to)
parent
in the range from - to.
parent - the parent nodefrom - the index of the first childto - the index of the last child
List prepareValues(AggregateRow parent,
int from,
int to)
parent
in the range from - to, and assigns them on the treeModel.
parent - the parent nodefrom - the index of the first childto - the index of the last child
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||