Interface InputTableSpec


@Immutable public interface InputTableSpec
Representation of input table specification.
  • Method Details

    • type

      @Default @NotNull default InputTableSpec.Type type()
      Gets the type of input table.
      Returns:
      the type of input table
    • columnSpecs

      @NaturalOrder @NotNull Map<String,ColumnSpec> columnSpecs()
      Gets the ColumnSpecs for this input table.
      Returns:
      the ColumnSpecs for this input table
    • check

      @Check default void check()
      Upon building, checks validity of the input table spec.
    • removeColumnSpecs

      @NotNull default InputTableSpec.Builder removeColumnSpecs(@NotNull String... columnNames)
      Returns a builder that is able to build an InputTableSpec equal to this one, except without the specified columns.
      Parameters:
      columnNames - specified columns to exclude from the returned builder
      Returns:
      builder a builder that is able to build an InputTableSpec equal to this one, except without the specified columns
    • asBuilder

      @NotNull default InputTableSpec.Builder asBuilder()
      Returns a builder that is able to build an InputTableSpec equal to this one.
      Returns:
      builder a builder that is able to build an InputTableSpec equal to this one
    • builder

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