Class InputTableSpec.Builder
java.lang.Object
io.deephaven.enterprise.inputtables.InputTableSpec.Builder
- Enclosing interface:
- InputTableSpec
Builder to help create an
InputTableSpec.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull InputTableSpec.BuilderaddColumnSpec(@NotNull ColumnSpec columnSpec) Adds aColumnSpecfor this input table.@NotNull InputTableSpec.BuilderaddColumnSpecs(@NotNull Collection<ColumnSpec> columnSpecs) AddsColumnSpecs for this input table.abstract @NotNull InputTableSpecbuild()Creates and returns theInputTableSpec.abstract @NotNull InputTableSpec.Buildertype(InputTableSpec.Type type) Sets the type of input table.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the type of input table.- Parameters:
type- the type of input table- Returns:
- this builder
-
addColumnSpec
@NotNull public @NotNull InputTableSpec.Builder addColumnSpec(@NotNull @NotNull ColumnSpec columnSpec) Adds aColumnSpecfor this input table.- Parameters:
columnSpec-ColumnSpecfor this input table- Returns:
- this builder
-
addColumnSpecs
@NotNull public @NotNull InputTableSpec.Builder addColumnSpecs(@NotNull @NotNull Collection<ColumnSpec> columnSpecs) AddsColumnSpecs for this input table.- Parameters:
columnSpecs-ColumnSpecs for this input table- Returns:
- this builder
-
build
Creates and returns theInputTableSpec.- Returns:
- the built
InputTableSpec
-