com.axibase.tsd.model.data.series
Class Interval
java.lang.Object
com.axibase.tsd.model.data.series.Interval
- All Implemented Interfaces:
- ParamValue
public class Interval
- extends Object
- implements ParamValue
- Author:
- Nikolay Malevanny.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Interval
public Interval()
Interval
public Interval(int count,
IntervalUnit unit)
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.