public class JRBaseCrosstabDataset extends JRBaseElementDataset implements JRCrosstabDataset
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
dataPreSorted |
datasetRun, incrementGroup, incrementTypeValue, incrementWhenExpression, resetGroup, resetTypeValue| Constructor and Description |
|---|
JRBaseCrosstabDataset(JRCrosstabDataset dataset,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectExpressions(JRExpressionCollector collector) |
boolean |
isDataPreSorted()
Returns whether the crosstab data is pre-sorted according to the
crosstab's groups.
|
clone, getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValueclonepublic JRBaseCrosstabDataset(JRCrosstabDataset dataset, JRBaseObjectFactory factory)
public void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementDatasetcollectExpressions in class JRBaseElementDatasetpublic boolean isDataPreSorted()
JRCrosstabDatasetThe crosstab calculation engine can optimize the calculations if the data is sorted by the row groups and column groups. For example, if there are two row groups R1 and R2 (subgroup of R1) and three column groups C1, C2 and C3 the data should be sorted by R1, R2, C1, C2, C3.
isDataPreSorted in interface JRCrosstabDatasetCopyright © 2017. All rights reserved.