Class IntervalList

    • Field Detail

      • columnGroup

        protected org.dashbuilder.dataset.group.ColumnGroup columnGroup
      • intervalType

        protected String intervalType
      • minValue

        protected Object minValue
      • maxValue

        protected Object maxValue
    • Constructor Detail

      • IntervalList

        public IntervalList​(org.dashbuilder.dataset.group.ColumnGroup columnGroup)
    • Method Detail

      • getColumnGroup

        public org.dashbuilder.dataset.group.ColumnGroup getColumnGroup()
      • getIntervalType

        public String getIntervalType()
      • setIntervalType

        public void setIntervalType​(String intervalType)
      • getMinValue

        public Object getMinValue()
      • setMinValue

        public void setMinValue​(Object minValue)
      • getMaxValue

        public Object getMaxValue()
      • setMaxValue

        public void setMaxValue​(Object maxValue)
      • indexValue

        public void indexValue​(Object value,
                               int row)
        Index the given value into the appropriate interval.
        Parameters:
        value - The value to index
        row - The row index where the value is hold within the data set.
      • locateInterval

        public abstract org.dashbuilder.dataset.group.Interval locateInterval​(Object value)
        Get the interval that holds the given value.
        Parameters:
        value - The value we are asking for.
        Returns:
        The interval which the value belongs to.