|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElementDataset
net.sf.jasperreports.engine.design.JRDesignElementDataset
net.sf.jasperreports.crosstabs.design.JRDesignCrosstabDataset
public class JRDesignCrosstabDataset
Input crosstab dataset implementation to be used at design time.
Field Summary | |
---|---|
protected boolean |
dataPreSorted
|
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElementDataset |
---|
datasetRun, incrementGroup, incrementType, incrementWhenExpression, resetGroup, resetType |
Constructor Summary | |
---|---|
JRDesignCrosstabDataset()
Creates a crosstab dataset. |
Method Summary | |
---|---|
void |
collectExpressions(JRExpressionCollector collector)
|
boolean |
isDataPreSorted()
Returns whether the crosstab data is pre-sorted according to the crosstab's groups. |
void |
setDataPreSorted(boolean dataPreSorted)
Sets the presorted flag for the dataset. |
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElementDataset |
---|
setDatasetRun, setIncrementGroup, setIncrementType, setIncrementWhenExpression, setResetGroup, setResetType |
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElementDataset |
---|
getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getResetGroup, getResetType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElementDataset |
---|
getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getResetGroup, getResetType |
Field Detail |
---|
protected boolean dataPreSorted
Constructor Detail |
---|
public JRDesignCrosstabDataset()
Method Detail |
---|
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
public boolean isDataPreSorted()
JRCrosstabDataset
The 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 JRCrosstabDataset
public void setDataPreSorted(boolean dataPreSorted)
dataPreSorted
- whether the input data is presortedJRCrosstabDataset.isDataPreSorted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |