Class ColumnSpec
java.lang.Object
io.deephaven.enterprise.inputtables.ColumnSpec
Representation of input table column specification.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnSpec.Builderbuilder()Creates and returns a builder for aColumnSpec.abstract Class<?>dataType()Gets the data type of the column.Gets the enum values for the column.abstract booleanisKey()Gets whether the column is a keyed column.abstract Stringname()Gets the name of the column.
-
Constructor Details
-
ColumnSpec
public ColumnSpec()
-
-
Method Details
-
name
Gets the name of the column.- Returns:
- the name of the column
-
dataType
Gets the data type of the column. Supported types areBoolean,String,Instant, and all primitive types exceptboolean.- Returns:
- the data type of the column
-
isKey
public abstract boolean isKey()Gets whether the column is a keyed column.- Returns:
- whether the column is a keyed column
-
enumValues
Gets the enum values for the column. For primitive types, the values must be the non-null, boxed equivalents (for example, anintdataType()must have non-nullInteger); for object types, the values must satisfydataType.isInstance(object).- Returns:
- the enum values for the column
-
builder
Creates and returns a builder for aColumnSpec.- Returns:
- a builder for a
ColumnSpec
-