com.axibase.tsd.model.data.series
Class Interval

java.lang.Object
  extended by com.axibase.tsd.model.data.series.Interval
All Implemented Interfaces:
ParamValue

public class Interval
extends Object
implements ParamValue

Author:
Nikolay Malevanny.

Constructor Summary
Interval(int count, IntervalUnit unit)
           
 
Method Summary
 int getCount()
          Number of aggregation intervals
 IntervalUnit getUnit()
          Aggregation interval unit: SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, QUARTER, YEAR
 String toParamValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interval

public Interval(int count,
                IntervalUnit unit)
Method Detail

getCount

public int getCount()
Number of aggregation intervals


getUnit

public IntervalUnit getUnit()
Aggregation interval unit: SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, QUARTER, YEAR


toParamValue

public String toParamValue()
Specified by:
toParamValue in interface ParamValue


Copyright © 2015. All rights reserved.