Class InputTableStateSpec.Builder

java.lang.Object
io.deephaven.enterprise.inputtables.InputTableStateSpec.Builder
Enclosing interface:
InputTableStateSpec

public abstract static class InputTableStateSpec.Builder extends Object
Builder to help create an InputTableStateSpec.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • version

      @NotNull public abstract InputTableStateSpec.Builder version(int version)
      Sets the version, which should start at 1 and be incremented on every input table update.
      Parameters:
      version - input table spec version
      Returns:
      this builder
    • addRemovedColumnSpec

      @NotNull public InputTableStateSpec.Builder addRemovedColumnSpec(@NotNull ColumnSpec columnSpec)
      Adds a removed column spec.
      Parameters:
      columnSpec - removed column spec to add
      Returns:
      this builder
    • inputTableSpec

      @NotNull public abstract InputTableStateSpec.Builder inputTableSpec(InputTableSpec inputTableSpec)
      Sets the input table spec that this object tracks state for.
      Parameters:
      inputTableSpec - The input table spec that this object tracks state for
      Returns:
      this builder
    • build

      @NotNull public abstract InputTableStateSpec build()
      Creates and returns the InputTableStateSpec.
      Returns:
      the built InputTableStateSpec