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()
           
Interval(int count, IntervalUnit unit)
           
 
Method Summary
 IntervalAlignment getAlign()
           
 int getCount()
          Number of aggregation intervals
 IntervalUnit getUnit()
          Aggregation interval unit: SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, QUARTER, YEAR
 void setAlign(IntervalAlignment align)
           
 void setCount(int count)
           
 void setUnit(IntervalUnit unit)
           
 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()

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


getAlign

public IntervalAlignment getAlign()

setCount

public void setCount(int count)

setUnit

public void setUnit(IntervalUnit unit)

setAlign

public void setAlign(IntervalAlignment align)

toParamValue

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


Copyright © 2015. All rights reserved.