|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.table.aggregator.NumericalAggregator
com.citra.pivot.table.aggregator.MaxAggregator
public class MaxAggregator
MaxAggregator selects the maximum number as the aggregated value.
Field Summary |
---|
Fields inherited from class com.citra.pivot.table.aggregator.NumericalAggregator |
---|
aggregationType |
Constructor Summary | |
---|---|
MaxAggregator()
Constructs a MaxAggregator. |
|
MaxAggregator(OlapType type)
Constructs a MaxAggregator. |
Method Summary | |
---|---|
MemberList |
getAggregatedMembers(TableMember currentMember,
TableConnection connection,
TableMeasure measure)
Returns the list of members whose values should be aggregated in order to produce the aggregation for currentMember. |
Object |
getAggregateValue(List queries,
TableTuple query,
TableConnection connection,
TableMeasure measure)
Determines the aggregate value for a list of member parameters. |
String |
getName()
Retrieves the name of the aggregator. |
Methods inherited from class com.citra.pivot.table.aggregator.NumericalAggregator |
---|
getType, getType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaxAggregator()
public MaxAggregator(OlapType type)
Method Detail |
---|
public MemberList getAggregatedMembers(TableMember currentMember, TableConnection connection, TableMeasure measure) throws DataSourceException
getAggregatedMembers
in interface StandardMeasureAggregator
currentMember
- the member that is being aggregatedconnection
- the connection to the table datasourcemeasure
- the measure being aggregated
DataSourceException
public Object getAggregateValue(List queries, TableTuple query, TableConnection connection, TableMeasure measure) throws DataSourceException
getAggregateValue
in interface StandardMeasureAggregator
queries
- a list of TableTuples
query
- the members currently being aggregatedconnection
- the connection to the table datasourcemeasure
- the measure being aggregated
DataSourceException
public String getName()
getName
in interface TableAggregator
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |