Class IntervalBuilderDynamicLabel

  • All Implemented Interfaces:
    IntervalBuilder

    public class IntervalBuilderDynamicLabel
    extends Object
    implements IntervalBuilder
    Interval builder for label columns which generates one interval per label.
    • Constructor Detail

      • IntervalBuilderDynamicLabel

        public IntervalBuilderDynamicLabel()
    • Method Detail

      • build

        public IntervalList build​(DataSetHandler ctx,
                                  org.dashbuilder.dataset.group.ColumnGroup columnGroup)
        Description copied from interface: IntervalBuilder
        Build a list of intervals according to the column group settings. The resulting intervals contain the row references belonging to it.
        Specified by:
        build in interface IntervalBuilder
        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

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