Package io.deephaven.plot.util.tables
Class ColumnHandlerFactory
java.lang.Object
io.deephaven.plot.util.tables.ColumnHandlerFactory
- All Implemented Interfaces:
Serializable
Creates
ColumnHandlerFactory.ColumnHandler instances with specified data types.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceHolds a table column.static enum -
Method Summary
Modifier and TypeMethodDescriptionnewComparableHandler(io.deephaven.engine.table.Table table, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a comparableColumnHandlerFactory.TypeClassification.newComparableHandler(TableHandle tableHandle, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a comparableColumnHandlerFactory.TypeClassification.newNumericHandler(io.deephaven.engine.table.Table table, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a numericColumnHandlerFactory.TypeClassification.newNumericHandler(TableHandle tableHandle, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a numericColumnHandlerFactory.TypeClassification.newObjectHandler(io.deephaven.engine.table.Table table, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a objectColumnHandlerFactory.TypeClassification.newObjectHandler(TableHandle tableHandle, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a objectColumnHandlerFactory.TypeClassification.
-
Method Details
-
newNumericHandler
public static ColumnHandlerFactory.ColumnHandler newNumericHandler(TableHandle tableHandle, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a numericColumnHandlerFactory.TypeClassification.- Parameters:
tableHandle- holds the tablecolumnName- column in the table- Returns:
- new numeric ColumnHandler
- Throws:
io.deephaven.base.verify.RequirementFailure-tableHandleandcolumnNamemust not be null.IllegalArgumentException- ifcolumnNameis not a column in the tableUnsupportedOperationException- data in thecolumnNamemust be numeric
-
newNumericHandler
public static ColumnHandlerFactory.ColumnHandler newNumericHandler(io.deephaven.engine.table.Table table, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a numericColumnHandlerFactory.TypeClassification.- Parameters:
table- tablecolumnName- column in the table- Returns:
- new numeric ColumnHandler
- Throws:
io.deephaven.base.verify.RequirementFailure-tableandcolumnNamemust not be null.IllegalArgumentException- ifcolumnNameis not a column in the tableUnsupportedOperationException- data in the column must be numeric
-
newComparableHandler
public static ColumnHandlerFactory.ColumnHandler newComparableHandler(TableHandle tableHandle, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a comparableColumnHandlerFactory.TypeClassification.- Parameters:
tableHandle- holds the tablecolumnName- column in the table- Returns:
- new comparable ColumnHandler
- Throws:
io.deephaven.base.verify.RequirementFailure-tableHandleandcolumnNamemust not be null.IllegalArgumentException- ifcolumnNameis not a column in the tableUnsupportedOperationException- data in thecolumnNamemust beComparable
-
newComparableHandler
public static ColumnHandlerFactory.ColumnHandler newComparableHandler(io.deephaven.engine.table.Table table, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a comparableColumnHandlerFactory.TypeClassification.- Parameters:
table- tablecolumnName- column in the table- Returns:
- new comparable ColumnHandler
- Throws:
io.deephaven.base.verify.RequirementFailure-tableandcolumnNamemust not be null.IllegalArgumentException- ifcolumnNameis not a column in thetableUnsupportedOperationException- data in the column must beComparable
-
newObjectHandler
public static ColumnHandlerFactory.ColumnHandler newObjectHandler(TableHandle tableHandle, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a objectColumnHandlerFactory.TypeClassification.- Parameters:
tableHandle- holds the tablecolumnName- column in the table- Returns:
- new object ColumnHandler
- Throws:
io.deephaven.base.verify.RequirementFailure-tableHandleandcolumnNamemust not be null.IllegalArgumentException- ifcolumnNameis not a column in the table
-
newObjectHandler
public static ColumnHandlerFactory.ColumnHandler newObjectHandler(io.deephaven.engine.table.Table table, String columnName, PlotInfo plotInfo) Creates a new ColumnHandler instance with a objectColumnHandlerFactory.TypeClassification.- Parameters:
table- tablecolumnName- column in the table- Returns:
- new object ColumnHandler
- Throws:
io.deephaven.base.verify.RequirementFailure-tableandcolumnNamemust not be null.IllegalArgumentException- ifcolumnNameis not a column in thetableio.deephaven.base.verify.RequirementFailure-tableandcolumnNamemust not be null.IllegalArgumentException- ifcolumnNameis not a column in thetable
-