Interface InputTableStateSpec


@InternalUseOnly @Immutable public interface InputTableStateSpec
Contains an InputTableSpec, along with its state, e.g. version and removed column history.
  • Method Details

    • version

      int version()
      Gets the version, which should start at 1 and be incremented on every input table update.
      Returns:
      version input table spec version
    • removedColumnSpecs

      @NaturalOrder @NotNull Map<String,ColumnSpec> removedColumnSpecs()
      Gets removed column specs from previous input table updates to e.g. prevent type changes if the columns are ever re-added.
      Returns:
      removed column specs from previous input table updates
    • inputTableSpec

      @NotNull InputTableSpec inputTableSpec()
      Gets the input table spec that this object tracks state for.
      Returns:
      input table spec that this object tracks state for
    • builder

      @NotNull static InputTableStateSpec.Builder builder()
      Creates and returns a builder for an InputTableStateSpec.
      Returns:
      a builder for an InputTableStateSpec