Package io.deephaven.plot.datasets.data
Class IndexableDataTable<T>
java.lang.Object
io.deephaven.plot.datasets.data.IndexableData<T>
io.deephaven.plot.datasets.data.LiveIndexableData<T>
io.deephaven.plot.datasets.data.IndexableDataTable<T>
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
IndexableData
dataset whose data is a column in a table and whose indices are the row numbers of the column.- See Also:
-
Constructor Summary
ConstructorDescriptionIndexableDataTable
(ColumnHandlerFactory.ColumnHandler columnHandler, PlotInfo plotInfo) Creates an IndexableDataTable instance. -
Method Summary
Methods inherited from class io.deephaven.plot.datasets.data.IndexableData
getPlotInfo
-
Constructor Details
-
IndexableDataTable
Creates an IndexableDataTable instance.- Parameters:
columnHandler
- dataplotInfo
- plot information- Throws:
RequirementFailure
-columnHandler
must not be null
-
-
Method Details
-
size
public int size()Description copied from class:IndexableData
Gets the size of this dataset.- Specified by:
size
in classIndexableData<T>
- Returns:
- the size of this dataset
-
get
Description copied from class:IndexableData
Gets the value at the given index.- Specified by:
get
in classIndexableData<T>
- Parameters:
index
- index- Returns:
- value of this dataset at
index
-
convert
Converts between the value in the column and the return value of the provider.- Parameters:
v
- raw value from the column- Returns:
- raw value converted into the desired data value
-