|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.GenericAggregator
Adaptor that sits between execution layer and aggregates.
| Field Summary | |
(package private) AggregatorInfo |
aggInfo
|
(package private) int |
aggregatorColumnId
|
private ExecAggregator |
cachedAggregator
|
private ClassFactory |
cf
|
private TemporaryRowHolderResultSet |
execResultSet
|
private int |
inputColumnId
|
private ResultDescription |
inputColumnResultDescription
|
private int |
resultColumnId
|
private ExecRow[] |
rowArray
|
| Constructor Summary | |
(package private) |
GenericAggregator(AggregatorInfo aggInfo,
ClassFactory cf)
Constructor: |
| Method Summary | |
(package private) void |
accumulate(DataValueDescriptor inputColumn,
DataValueDescriptor aggregatorColumn)
Accumulate the aggregate results. |
(package private) void |
accumulate(ExecRow inputRow,
ExecRow accumulateRow)
Accumulate the aggregate results. |
(package private) void |
accumulate(java.lang.Object[] inputRow,
java.lang.Object[] accumulateRow)
Accumulate the aggregate results. |
(package private) boolean |
finish(ExecRow row)
Get the results of the aggregation and put it in the result column. |
(package private) AggregatorInfo |
getAggregatorInfo()
|
(package private) ExecAggregator |
getAggregatorInstance()
Get a new instance of the aggregator and initialize it. |
(package private) int |
getColumnId()
Return the column id that is being aggregated |
(package private) void |
initialize(ExecRow row)
Initialize the aggregator |
(package private) void |
merge(ExecRow inputRow,
ExecRow mergeRow)
Merge the aggregate results. |
(package private) void |
merge(java.lang.Object[] inputRow,
java.lang.Object[] mergeRow)
Merge the aggregate results. |
(package private) void |
merge(Storable aggregatorColumnIn,
Storable aggregatorColumnOut)
Merge two partial aggregations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
AggregatorInfo aggInfo
int aggregatorColumnId
private int inputColumnId
private int resultColumnId
private ResultDescription inputColumnResultDescription
private ExecRow[] rowArray
private TemporaryRowHolderResultSet execResultSet
private final ClassFactory cf
private ExecAggregator cachedAggregator
| Constructor Detail |
GenericAggregator(AggregatorInfo aggInfo,
ClassFactory cf)
aggInfo - information about the user aggregatecf - the class factory.| Method Detail |
void initialize(ExecRow row)
throws StandardException
row - the row with the aggregator to be initialized
StandardException - on error
void accumulate(ExecRow inputRow,
ExecRow accumulateRow)
throws StandardException
inputRow - the row with the input columaccumulateRow - the row with the aggregator
StandardException - on error
void accumulate(java.lang.Object[] inputRow,
java.lang.Object[] accumulateRow)
throws StandardException
inputRow - the row with the input columaccumulateRow - the row with the aggregator
StandardException - on error
void accumulate(DataValueDescriptor inputColumn,
DataValueDescriptor aggregatorColumn)
throws StandardException
inputColumn - aggregatorColumn -
StandardException - on error
void merge(ExecRow inputRow,
ExecRow mergeRow)
throws StandardException
inputRow - the row with the input colummergeRow - the row with the aggregator
StandardException - on error
void merge(java.lang.Object[] inputRow,
java.lang.Object[] mergeRow)
throws StandardException
inputRow - the row with the input colummergeRow - the row with the aggregator
StandardException - on error
boolean finish(ExecRow row)
throws StandardException
row - the row with the result and the aggregator
StandardException - on error
ExecAggregator getAggregatorInstance()
throws StandardException
StandardException - on errorint getColumnId()
void merge(Storable aggregatorColumnIn,
Storable aggregatorColumnOut)
throws StandardException
StandardException - on errorAggregatorInfo getAggregatorInfo()
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||