Package com.tableau.hyperapi
Class TableDefinition.Column
java.lang.Object
com.tableau.hyperapi.TableDefinition.Column
- Enclosing class:
TableDefinition
A single column.
-
Constructor Summary
ConstructorDescriptionCreates a column.Column
(Name columnName, SqlType type, Nullability nullability) Creates a column.Creates a column.Column
(Name columnName, SqlType type, String collation, Nullability nullability) Creates a column.Creates a column.Column
(String columnName, SqlType type, Nullability nullability) Creates a column.Creates a column.Column
(String columnName, SqlType type, String collation, Nullability nullability) Creates a column. -
Method Summary
-
Constructor Details
-
Column
Creates a column.- Parameters:
columnName
- Column name.type
- SQL type.collation
- The collation (used for sorting and equality checks).nullability
- Whether the column store null values.
-
Column
Creates a column.- Parameters:
columnName
- Column name.type
- SQL type.collation
- The collation (used for sorting and equality checks).nullability
- Whether the column store null values.
-
Column
Creates a column.- Parameters:
columnName
- Column name.type
- SQL type.collation
- The collation (used for sorting and equality checks).
-
Column
Creates a column.- Parameters:
columnName
- Column name.type
- SQL type.collation
- The collation (used for sorting and equality checks).
-
Column
Creates a column.- Parameters:
columnName
- Column name.type
- SQL type.nullability
- Whether the column store null values.
-
Column
Creates a column.- Parameters:
columnName
- Column name.type
- SQL type.nullability
- Whether the column store null values.
-
Column
Creates a column.- Parameters:
columnName
- Column name.type
- SQL type.
-
Column
Creates a column.- Parameters:
columnName
- Column name.type
- SQL type.
-
-
Method Details
-
getName
Returns the name of the column.- Returns:
- The name.
-
getType
Returns the type of the column.- Returns:
- The type.
-
getNullability
Returns whether the column can store null values.- Returns:
- The nullability.
-
getCollation
Returns the collation of the column.- Returns:
- The collation.
-