Interface InputTableSpec
@Immutable
public interface InputTableSpec
Representation of input table specification.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Builder to help create anInputTableSpec
.static enum
-
Method Summary
Modifier and TypeMethodDescriptiondefault InputTableSpec.Builder
Returns a builder that is able to build anInputTableSpec
equal to this one.static InputTableSpec.Builder
builder()
Creates and returns a builder for anInputTableSpec
.default void
check()
Upon building, checks validity of the input table spec.Gets theColumnSpec
s for this input table.default InputTableSpec.Builder
removeColumnSpecs
(String... columnNames) Returns a builder that is able to build anInputTableSpec
equal to this one, except without the specified columns.default InputTableSpec.Type
type()
Gets the type of input table.
-
Method Details
-
type
Gets the type of input table.- Returns:
- the type of input table
-
columnSpecs
Gets theColumnSpec
s for this input table.- Returns:
- the
ColumnSpec
s for this input table
-
check
@Check default void check()Upon building, checks validity of the input table spec. -
removeColumnSpecs
Returns a builder that is able to build anInputTableSpec
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
Returns a builder that is able to build anInputTableSpec
equal to this one.- Returns:
- builder a builder that is able to build an
InputTableSpec
equal to this one
-
builder
Creates and returns a builder for anInputTableSpec
.- Returns:
- a builder for an
InputTableSpec
-