Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Column |
build()
Builds the configured instance.
|
Column.Builder |
dataType(java.lang.String dataType)
Sets the value of
Column.getDataType() |
Column.Builder |
distKey(java.lang.Boolean distKey)
Sets the value of
Column.getDistKey() |
Column.Builder |
name(java.lang.String name)
Sets the value of
Column.getName() |
Column.Builder |
sortKey(java.lang.Boolean sortKey)
Sets the value of
Column.getSortKey() |
public Column.Builder dataType(java.lang.String dataType)
Column.getDataType()
dataType
- The data type of the column. This parameter is required.this
public Column.Builder name(java.lang.String name)
Column.getName()
name
- The name of the column. This parameter is required.this
public Column.Builder distKey(java.lang.Boolean distKey)
Column.getDistKey()
distKey
- Boolean value that indicates whether the column is to be configured as DISTKEY.this
public Column.Builder sortKey(java.lang.Boolean sortKey)
Column.getSortKey()
sortKey
- Boolean value that indicates whether the column is to be configured as SORTKEY.this