Class TableDefinition.Column

java.lang.Object
com.tableau.hyperapi.TableDefinition.Column
Enclosing class:
TableDefinition

public static final class TableDefinition.Column extends Object
A single column.
  • Constructor Details

    • Column

      public Column(Name columnName, SqlType type, String collation, Nullability nullability)
      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

      public Column(String columnName, SqlType type, String collation, Nullability nullability)
      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

      public Column(String columnName, SqlType type, String collation)
      Creates a column.
      Parameters:
      columnName - Column name.
      type - SQL type.
      collation - The collation (used for sorting and equality checks).
    • Column

      public Column(Name columnName, SqlType type, String collation)
      Creates a column.
      Parameters:
      columnName - Column name.
      type - SQL type.
      collation - The collation (used for sorting and equality checks).
    • Column

      public Column(String columnName, SqlType type, Nullability nullability)
      Creates a column.
      Parameters:
      columnName - Column name.
      type - SQL type.
      nullability - Whether the column store null values.
    • Column

      public Column(Name columnName, SqlType type, Nullability nullability)
      Creates a column.
      Parameters:
      columnName - Column name.
      type - SQL type.
      nullability - Whether the column store null values.
    • Column

      public Column(String columnName, SqlType type)
      Creates a column.
      Parameters:
      columnName - Column name.
      type - SQL type.
    • Column

      public Column(Name columnName, SqlType type)
      Creates a column.
      Parameters:
      columnName - Column name.
      type - SQL type.
  • Method Details

    • getName

      public Name getName()
      Returns the name of the column.
      Returns:
      The name.
    • getType

      public SqlType getType()
      Returns the type of the column.
      Returns:
      The type.
    • getNullability

      public Nullability getNullability()
      Returns whether the column can store null values.
      Returns:
      The nullability.
    • getCollation

      public String getCollation()
      Returns the collation of the column.
      Returns:
      The collation.