Class IndexableDataDBDateTime
java.lang.Object
com.illumon.iris.db.plot.datasets.data.IndexableData<DBDateTime>
com.illumon.iris.db.plot.datasets.data.IndexableDataDBDateTime
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
public class IndexableDataDBDateTime extends IndexableData<DBDateTime>
IndexableData
dataset with DBDateTime
values.
Dataset values equal to QueryConstants.NULL_LONG
are treated as null.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description IndexableDataDBDateTime(long[] data, PlotInfo plotInfo)
Creates an IndexableDataDBDateTime instance. -
Method Summary
Modifier and Type Method Description DBDateTime
get(int index)
Gets the value at the given index.int
size()
Gets the size of this dataset.Methods inherited from class com.illumon.iris.db.plot.datasets.data.IndexableData
getPlotInfo, onClose, snapshot
-
Constructor Details
-
IndexableDataDBDateTime
Creates an IndexableDataDBDateTime instance. Values indata
equal toQueryConstants.NULL_LONG
are treated as null.- Parameters:
data
- dataplotInfo
- plot information
-
-
Method Details
-
size
public int size()Description copied from class:IndexableData
Gets the size of this dataset.- Specified by:
size
in classIndexableData<DBDateTime>
- Returns:
- the size of this dataset
-
get
Description copied from class:IndexableData
Gets the value at the given index.- Specified by:
get
in classIndexableData<DBDateTime>
- Parameters:
index
- index- Returns:
- value of this dataset at
index
-