Class MultiAxisDataService
java.lang.Object
net.sf.jasperreports.engine.analytics.dataset.MultiAxisDataService
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
protected class
protected class
protected static class
protected static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected static final org.apache.commons.logging.Log
-
Constructor Summary
ConstructorsConstructorDescriptionMultiAxisDataService
(JasperReportsContext jasperReportsContext, JRFillExpressionEvaluator expressionEvaluator, MultiAxisData data, byte evaluation) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
protected AxisLevel
createLevel
(Axis axis, DataAxisLevel dataLevel, byte evaluation, int depth) protected Measure
createMeasure
(DataMeasure dataMeasure, byte evaluation) protected BucketDefinition
protected AxisLevel
createRootLevel
(Axis axis) protected BucketDefinition
createServiceBucket
(DataAxisLevel level, byte evaluation) protected MeasureDefinition
createServiceMeasure
(DataMeasure measure) protected Object
evaluateBucketValue
(JRCalculator calculator, DataAxisLevel level) void
evaluateRecord
(JRCalculator calculator)
-
Field Details
-
log
protected static final org.apache.commons.logging.Log log -
EXCEPTION_MESSAGE_KEY_INCREMENT_BIDIMENSIONAL_DATASET_ERROR
- See Also:
-
-
Constructor Details
-
MultiAxisDataService
public MultiAxisDataService(JasperReportsContext jasperReportsContext, JRFillExpressionEvaluator expressionEvaluator, MultiAxisData data, byte evaluation) throws JRException - Throws:
JRException
-
-
Method Details
-
createRootLevel
- Throws:
JRException
-
createRootBucket
- Throws:
JRException
-
createLevel
protected AxisLevel createLevel(Axis axis, DataAxisLevel dataLevel, byte evaluation, int depth) throws JRException - Throws:
JRException
-
createServiceBucket
protected BucketDefinition createServiceBucket(DataAxisLevel level, byte evaluation) throws JRException - Throws:
JRException
-
createMeasure
- Throws:
JRException
-
createServiceMeasure
-
evaluateRecord
- Throws:
JRExpressionEvalException
-
evaluateBucketValue
protected Object evaluateBucketValue(JRCalculator calculator, DataAxisLevel level) throws JRExpressionEvalException - Throws:
JRExpressionEvalException
-
addRecord
public void addRecord() -
clearData
public void clearData() -
createDataSource
- Throws:
JRException
-