Class IndexableDataSwappableTableDouble
java.lang.Object
com.illumon.iris.db.plot.datasets.data.IndexableData<T>
com.illumon.iris.db.plot.datasets.data.LiveIndexableData<T>
com.illumon.iris.db.plot.datasets.data.IndexableDataSwappableTable<Double>
com.illumon.iris.db.plot.datasets.data.IndexableDataSwappableTableDouble
- All Implemented Interfaces:
PlotExceptionCause,SwappableTable.LocalTableUpdateListener,Serializable
IndexableData dataset whose data is a column in a SwappableTable
and whose indices are the row numbers of the column.
Data values are converted to doubles.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIndexableDataSwappableTableDouble(SwappableTable swappableTable, String column, PlotInfo plotInfo) Creates an IndexableDataSwappableTable instance. -
Method Summary
Methods inherited from class com.illumon.iris.db.plot.datasets.data.IndexableDataSwappableTable
get, onClose, onLocalTableUpdate, size, snapshotMethods inherited from class com.illumon.iris.db.plot.datasets.data.IndexableData
getPlotInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.plot.util.tables.SwappableTable.LocalTableUpdateListener
onInitialSnapshot
-
Constructor Details
-
IndexableDataSwappableTableDouble
public IndexableDataSwappableTableDouble(SwappableTable swappableTable, String column, PlotInfo plotInfo) Creates an IndexableDataSwappableTable instance. The data is acolumnin theswappableTable. Indices are the row numbers of the column.- Parameters:
swappableTable- swappable tablecolumn- column ofswappableTableholding the data valuesplotInfo- plot information- Throws:
com.fishlib.base.verify.RequirementFailure-swappableTableandcolumnmust not be nullIllegalArgumentException-columnmust be a column inswappableTableRuntimeException- data incolumnmust be numeric
-
-
Method Details
-
convert
Description copied from class:IndexableDataSwappableTableConverts between the value in the column and the return value of the provider.- Overrides:
convertin classIndexableDataSwappableTable<Double>- Parameters:
v- value in the column- Returns:
- value in the column converted to return type of the provider
-