public class BaseDataLevelBucket extends Object implements DataLevelBucket, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<DataLevelBucketProperty> |
bucketProperties |
protected JRExpression |
comparatorExpression |
static String |
EXCEPTION_MESSAGE_KEY_BUCKET_LOAD_ERROR |
protected JRExpression |
expression |
protected BucketOrder |
order |
protected SortOrderEnum |
orderValue
Deprecated.
|
protected Class<?> |
valueClass |
protected String |
valueClassName |
protected String |
valueClassRealName |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseDataLevelBucket() |
|
BaseDataLevelBucket(DataLevelBucket bucket,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
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.
|
Class<?> |
getValueClass()
Returns the class of the bucket value.
|
String |
getValueClassName()
Returns the string name of the bucket value class.
|
public static final String EXCEPTION_MESSAGE_KEY_BUCKET_LOAD_ERROR
protected String valueClassName
protected String valueClassRealName
protected Class<?> valueClass
@Deprecated protected SortOrderEnum orderValue
protected BucketOrder order
protected JRExpression expression
protected JRExpression comparatorExpression
protected List<DataLevelBucketProperty> bucketProperties
protected BaseDataLevelBucket()
public BaseDataLevelBucket(DataLevelBucket bucket, JRBaseObjectFactory factory)
public String getValueClassName()
DataLevelBucketgetValueClassName in interface DataLevelBucket@Deprecated public SortOrderEnum getOrderValue()
DataLevelBucketThe possible values are:
getOrderValue in interface DataLevelBucketpublic BucketOrder getOrder()
DataLevelBucketThe possible values are:
getOrder in interface DataLevelBucketDataLevelBucket.getComparatorExpression()public JRExpression getExpression()
DataLevelBucketgetExpression in interface DataLevelBucketpublic JRExpression getComparatorExpression()
DataLevelBucket
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.
getComparatorExpression in interface DataLevelBucketpublic Class<?> getValueClass()
DataLevelBucketgetValueClass in interface DataLevelBucketpublic List<DataLevelBucketProperty> getBucketProperties()
getBucketProperties in interface DataLevelBucketpublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2017. All rights reserved.