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