|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.internal.datafeed.GroupingLookupHelper
public class GroupingLookupHelper
Helper to lookup the index of each data definition in the evaluator data.
Constructor Summary | |
---|---|
GroupingLookupHelper(Chart cm,
IActionEvaluator iae,
com.ibm.icu.util.ULocale locale)
Constructor. |
|
GroupingLookupHelper(java.util.Collection dataExps,
java.util.Collection aggExps)
Constructor. |
Method Summary | |
---|---|
int[] |
findBatchIndex(java.lang.String[] dataExpArray,
java.lang.String aggExp)
Finds the index according to the combination of data expression and aggregation expression in a batch. |
int |
findIndex(java.lang.String dataExp,
java.lang.String aggExp)
Finds the index of orthogonal series according to the combination of data expression and aggregation expression. |
int |
findIndexOfBaseSeries(java.lang.String dataExp)
Finds the index of base series according to the data expression . |
java.util.List |
getExpressions()
Gets the list for all data expressions. |
java.util.List |
getExpressionsForAggregate()
Returns transformed expressions for aggregate case. |
java.lang.String |
getOrthogonalAggregationExpression(SeriesDefinition orthoSD)
Gets aggregation expressions of orthogonal series definition. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupingLookupHelper(Chart cm, IActionEvaluator iae, com.ibm.icu.util.ULocale locale) throws ChartException
cm
- chart modeliae
- IActionEvaluator to get the expressions in triggerslocale
-
ChartException
public GroupingLookupHelper(java.util.Collection dataExps, java.util.Collection aggExps)
dataExps
- data expressions collectionaggExps
- aggregation expressions collectionMethod Detail |
---|
public java.util.List getExpressions()
public java.util.List getExpressionsForAggregate()
public int findIndexOfBaseSeries(java.lang.String dataExp)
dataExp
- the data expression to lookup
public int findIndex(java.lang.String dataExp, java.lang.String aggExp)
dataExp
- data expressionaggExp
- aggregation expression. If it's null, will use aggregation
expression of base series instead
public int[] findBatchIndex(java.lang.String[] dataExpArray, java.lang.String aggExp)
dataExpArray
- data expression arrayaggExp
- aggregation expression
public java.lang.String getOrthogonalAggregationExpression(SeriesDefinition orthoSD)
orthoSD
- orthogonal series definition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |