Interface IntervalBuilder

  • All Known Implementing Classes:
    IntervalBuilderDynamicLabel, IntervalBuilderFixedDate

    public interface IntervalBuilder
    Group operations requires to split the values of a column into intervals. This interface provides an abstraction for the different group strategy implementations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      IntervalList build​(org.dashbuilder.dataset.DataColumn groupedColumn)
      Build a list of intervals according to the column group settings.
      IntervalList build​(DataSetHandler ctx, org.dashbuilder.dataset.group.ColumnGroup columnGroup)
      Build a list of intervals according to the column group settings.
    • Method Detail

      • build

        IntervalList build​(DataSetHandler ctx,
                           org.dashbuilder.dataset.group.ColumnGroup columnGroup)
        Build a list of intervals according to the column group settings. The resulting intervals contain the row references belonging to it.
        Parameters:
        ctx - The current operation engine data set handler context.
        columnGroup - The column group operation to apply.
        Returns:
        A list of intervals containing a split of all the values for the given column.
      • build

        IntervalList build​(org.dashbuilder.dataset.DataColumn groupedColumn)
        Build a list of intervals according to the column group settings. The resulting intervals are empty (no row references in).
        Parameters:
        groupedColumn - The data set grouped column
        Returns:
        A list of intervals containing a split of all the values for the given column.