net.sf.jasperreports.crosstabs

## Interface JRCrosstabDataset

- All Superinterfaces:
    java.lang.Cloneable, JRCloneable, JRElementDataset
  All Known Implementing Classes:
    JRBaseCrosstabDataset, JRDesignCrosstabDataset, JRFillCrosstab.JRFillCrosstabDataset

      public interface JRCrosstabDataset
      extends JRElementDataset

  Input dataset interface used by crosstabs.
  Version:
    $Id: JRCrosstabDataset.java 5877 2013-01-07 19:51:14Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isDataPreSorted()` Returns whether the crosstab data is pre-sorted according to the crosstab's groups.

    - ### Methods inherited from interface net.sf.jasperreports.engine.JRElementDataset

      `collectExpressions, getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValue`

    - ### Methods inherited from interface net.sf.jasperreports.engine.JRCloneable

      `clone`

- - ### Method Detail

    - #### isDataPreSorted

          boolean isDataPreSorted()

      Returns whether the crosstab data is pre-sorted according to the crosstab's groups.

      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.

      Returns:
        whether the crosstab data is pre-sorted

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com