|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalcSet
Field Summary | |
---|---|
static int |
GENERATE
in case of multiple hierarchies on an axis, the expression is evaluated for every member of the hierarchies, that are left of this hierarchy. |
static java.lang.String |
ID
|
static int |
SIMPLE
evaluates the expression once in global context. |
static int |
STICKY
Expression is re-evaluated when the user navigates. |
Method Summary | |
---|---|
java.lang.Object |
createAxisExpression(int mode,
Expression expr,
Hierarchy hier)
creates an Object that may be placed on an axis via PlaceHierarchiesOnAxes. |
Methods inherited from interface com.tonbeller.jpivot.core.Extension |
---|
decorate, getId, modelInitialized, setModel |
Field Detail |
---|
static final java.lang.String ID
static final int SIMPLE
Example: create an expression for customer, e.g. TopCount
Products Customer A TopCount(Customer.members, 5) B C
SIMPLE will find the top 5 customers globally and will display the same 5 customers for every product
static final int GENERATE
Example: create an expression for customer, e.g. TopCount
Products Customer A TopCount(Customer.members, 5) B C
GENERATE will find the top 5 customers for every product, it will show different customers for every product.
static final int STICKY
Method Detail |
---|
java.lang.Object createAxisExpression(int mode, Expression expr, Hierarchy hier) throws InvalidExpressionException
mode
- one of SIMPLE, GENERATE, STICKYexpr
- the Expression to parsehier
- the Hierarchy that the expression evaluates to
InvalidExpressionException
- in case the expression is not valid,
e.g. misspelled function names etcPlaceHierarchiesOnAxes.setQueryAxis(com.tonbeller.jpivot.olap.model.Axis, java.lang.Object[])
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |