public interface DataLevelBucket extends JRCloneable
Modifier and Type | Method and Description |
---|---|
List<DataLevelBucketProperty> |
getBucketProperties() |
JRExpression |
getComparatorExpression()
Returns the comparator expression.
|
JRExpression |
getExpression()
Returns the grouping expression.
|
BucketOrder |
getOrder()
Returns the bucket sorting type.
|
SortOrderEnum |
getOrderValue()
Deprecated.
replaced by
getOrder() |
Class<?> |
getValueClass()
Returns the class of the bucket value.
|
String |
getValueClassName()
Returns the string name of the bucket value class.
|
clone
Class<?> getValueClass()
String getValueClassName()
@Deprecated SortOrderEnum getOrderValue()
getOrder()
The possible values are:
BucketOrder getOrder()
The possible values are:
getComparatorExpression()
JRExpression getExpression()
JRExpression getComparatorExpression()
The result of this expression is used to sort the buckets, in ascending or
descending order (given by getOrder()
.
If the order type is BucketOrder.NONE
, no sorting will be performed
and the comparator expression will be ignored.
If no comparator expression is specified, the natural order will be used.
If the bucket has an order by expression, the comparator will be used to compare values as produced by that expression.
List<DataLevelBucketProperty> getBucketProperties()
Copyright © 2017. All rights reserved.