Class IndexableDataLong
java.lang.Object
com.illumon.iris.db.plot.datasets.data.IndexableData<Long>
com.illumon.iris.db.plot.datasets.data.IndexableDataLong
- All Implemented Interfaces:
PlotExceptionCause,Serializable
IndexableData dataset with Long values.
Dataset values equal to QueryConstants.NULL_LONG
are treated as null.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIndexableDataLong(long[] data, PlotInfo plotInfo) Creates an IndexableDataLong instance. -
Method Summary
Methods inherited from class com.illumon.iris.db.plot.datasets.data.IndexableData
getPlotInfo, onClose, snapshot
-
Constructor Details
-
IndexableDataLong
Creates an IndexableDataLong 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<Long>- Returns:
- the size of this dataset
-
get
Description copied from class:IndexableDataGets the value at the given index.- Specified by:
getin classIndexableData<Long>- Parameters:
index- index- Returns:
- value of this dataset at
index
-