Class IndexableDataShort

java.lang.Object
com.illumon.iris.db.plot.datasets.data.IndexableData<Short>
com.illumon.iris.db.plot.datasets.data.IndexableDataShort
All Implemented Interfaces:
PlotExceptionCause, Serializable

public class IndexableDataShort extends IndexableData<Short>
IndexableData dataset with Short values. Dataset values equal to QueryConstants.NULL_SHORT are treated as null.
See Also:
  • Constructor Details

    • IndexableDataShort

      public IndexableDataShort(short[] data, PlotInfo plotInfo)
      Creates an IndexableDataShort instance. Values in data equal to QueryConstants.NULL_SHORT are treated as null.
      Parameters:
      data - data
      plotInfo - plot information
  • Method Details

    • size

      public int size()
      Description copied from class: IndexableData
      Gets the size of this dataset.
      Specified by:
      size in class IndexableData<Short>
      Returns:
      the size of this dataset
    • get

      public Short get(int index)
      Description copied from class: IndexableData
      Gets the value at the given index.
      Specified by:
      get in class IndexableData<Short>
      Parameters:
      index - index
      Returns:
      value of this dataset at index