Class AssociativeDataTable<KEY,​VALUE,​VALUECOLUMN>

java.lang.Object
com.illumon.iris.db.plot.datasets.data.AssociativeData<KEY,​VALUE>
com.illumon.iris.db.plot.datasets.data.LiveAssociativeData<KEY,​VALUE,​VALUECOLUMN>
com.illumon.iris.db.plot.datasets.data.AssociativeDataTable<KEY,​VALUE,​VALUECOLUMN>
All Implemented Interfaces:
PlotExceptionCause, Serializable

public class AssociativeDataTable<KEY,​VALUE,​VALUECOLUMN>
extends LiveAssociativeData<KEY,​VALUE,​VALUECOLUMN>
An AssociativeData dataset backed by a Table. Table columns hold the keys and the associated values. Data types are specified in construction.
See Also:
Serialized Form
  • Constructor Details

    • AssociativeDataTable

      public AssociativeDataTable​(DataChangeListener dataChangeListener, TableHandle tableHandle, String keyColumn, String valueColumn, Class<KEY> keyColumnType, Class<VALUECOLUMN> valueColumnType, PlotInfo plotInfo)
      Creates an AssociativeDataSwappableTable instance. Key are in the keyColumn of the table held by tableHandle. Their associated values are in the valueColumn. The data type of the keys is specified by keyColumnType. The data type of the values is specified by valueColumnType.
      Parameters:
      dataChangeListener - listener for data changes in this series
      tableHandle - holds the underlying table
      keyColumn - column in the table which holds the key values
      valueColumn - column in the table which holds the values associated with the keys
      keyColumnType - data type of the keys
      valueColumnType - data type of the values
      plotInfo - plot information
      Throws:
      com.fishlib.base.verify.RequirementFailure - tableHandle, keyColumn, and valueColumn must not be null
      IllegalArgumentException - keyColumn and valueColumn must be columns in swappableTable
      RuntimeException - the specified data types must match the data types of the corresponding columns
  • Method Details