Class TimeSeriesCollector

  • All Implemented Interfaces:
    Serializable, Cloneable, EventListener, org.pentaho.reporting.engine.classic.core.event.ReportListener, org.pentaho.reporting.engine.classic.core.function.Expression, org.pentaho.reporting.engine.classic.core.function.Function

    public class TimeSeriesCollector
    extends AbstractCollectorFunction
    The number of entries in the series, value, and timeValueColumns properties must be the same. The function will collect from tuples of {series, value (y), timeValue (x)}.
    Author:
    Thomas Morgner.
    See Also:
    Serialized Form
    • Constructor Detail

      • TimeSeriesCollector

        public TimeSeriesCollector()
    • Method Detail

      • getTimePeriod

        public Class getTimePeriod()
      • setTimePeriod

        public void setTimePeriod​(Class timePeriod)
      • getSeriesMap

        protected HashMap<Comparable,​org.jfree.data.time.TimeSeries> getSeriesMap()
      • setValueColumn

        public void setValueColumn​(int index,
                                   String field)
      • setTimeValueColumn

        public void setTimeValueColumn​(int index,
                                       String field)
      • getValueColumn

        public String getValueColumn​(int index)
      • getValueColumnCount

        public int getValueColumnCount()
      • getValueColumn

        public String[] getValueColumn()
      • setValueColumn

        public void setValueColumn​(String[] fields)
      • getTimeValueColumn

        public String getTimeValueColumn​(int index)
      • getTimeValueColumnCount

        public int getTimeValueColumnCount()
      • getTimeValueColumn

        public String[] getTimeValueColumn()
      • setTimeValueColumn

        public void setTimeValueColumn​(String[] fields)
      • reportDone

        public void reportDone​(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
        Receives notification that report generation has completed, the report footer was printed, no more output is done. This is a helper event to shut down the output service.
        Specified by:
        reportDone in interface org.pentaho.reporting.engine.classic.core.event.ReportListener
        Overrides:
        reportDone in class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
        Parameters:
        event - The event.
      • getInstance

        public org.pentaho.reporting.engine.classic.core.function.Expression getInstance()
        Return a completly separated copy of this function. The copy does no longer share any changeable objects with the original function.
        Specified by:
        getInstance in interface org.pentaho.reporting.engine.classic.core.function.Expression
        Overrides:
        getInstance in class AbstractCollectorFunction
        Returns:
        a copy of this function.