|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRCrosstabBucket
Crosstab groups bucketing information interface.
The bucketing information consists of the grouping expression
and sorting information.
The buckets can be sorted according to the natural sorting (if the values
implement Comparable
) or using a comparator.
Method Summary | |
---|---|
JRExpression |
getComparatorExpression()
Returns the comparator expression. |
JRExpression |
getExpression()
Returns the grouping expression. |
JRExpression |
getOrderByExpression()
Returns an expression that provides order by values for group buckets. |
SortOrderEnum |
getOrderValue()
Returns the bucket sorting type. |
java.lang.Class<?> |
getValueClass()
Returns the class of the bucket value. |
java.lang.String |
getValueClassName()
Returns the string name of the bucket value class. |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Method Detail |
---|
java.lang.Class<?> getValueClass()
java.lang.String getValueClassName()
SortOrderEnum getOrderValue()
The possible values are:
JRExpression getExpression()
JRExpression getComparatorExpression()
The result of this expression is used to sort the buckets, in ascending or
descending order (given by getOrderValue()
.
If the bucket has an order by expression, the comparator will be used to
compare values as produced by that expression.
If no comparator expression is specified, the natural order will be used.
getOrderByExpression()
JRExpression getOrderByExpression()
getExpression()
are used to order the buckets.
The expression is evaluated in the context of the crosstab group and can reference measure variables, which evaluate to group totals.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |