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 DBDateTimeget(int index)Gets the value at the given index.intsize()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 indataequal toQueryConstants.NULL_LONGare treated as null.- Parameters:
data- dataplotInfo- plot information
-
-
Method Details
-
size
public int size()Description copied from class:IndexableDataGets the size of this dataset.- Specified by:
sizein classIndexableData<DBDateTime>- Returns:
- the size of this dataset
-
get
Description copied from class:IndexableDataGets the value at the given index.- Specified by:
getin classIndexableData<DBDateTime>- Parameters:
index- index- Returns:
- value of this dataset at
index
-