# Uses of Class
com.tableau.hyperapi.TableDefinition

Packages that use TableDefinition
Package
Description
com.tableau.hyperapi
This is the public Tableau Hyper API documentation version 0.0.22106

- ## Uses of TableDefinition in com.tableau.hyperapi

  Methods in com.tableau.hyperapi that return TableDefinition
  Modifier and Type
  Method
  Description
  `TableDefinition`
  TableDefinition.`addColumn(TableDefinition.Column column)`
  Adds a column to the table definition.
  `TableDefinition`
  TableDefinition.`addColumn(String columnName, SqlType type)`
  Adds a column to the table definition.
  `TableDefinition`
  TableDefinition.`addColumn(String columnName, SqlType type, Nullability nullability)`
  Adds a column to the table definition.
  `TableDefinition`
  TableDefinition.`addColumn(String columnName, SqlType type, String collation)`
  Adds a column to the table definition.
  `TableDefinition`
  TableDefinition.`addColumn(String columnName, SqlType type, String collation, Nullability nullability)`
  Adds a column to the table definition.
  `TableDefinition`
  Catalog.`getTableDefinition(TableName tableName)`
  Returns the table definition if a table with the given name exists.
  `TableDefinition`
  Inserter.`getTableDefinition()`
  Gets the table definition.
  `TableDefinition`
  TableDefinition.`setPersistence(Persistence persistence)`
  Sets the table persistence.
  `TableDefinition`
  TableDefinition.`setTableName(TableName tableName)`
  Sets the table name.
  Methods in com.tableau.hyperapi with parameters of type TableDefinition
  Modifier and Type
  Method
  Description
  `void`
  Catalog.`createTable(TableDefinition tableDefinition)`
  Creates a table.
  `void`
  Catalog.`createTableIfNotExists(TableDefinition tableDefinition)`
  Creates a table if no table with that name exists; otherwise does nothing.
  Constructors in com.tableau.hyperapi with parameters of type TableDefinition
  Modifier
  Constructor
  Description
  ``
  `Inserter(Connection connection, TableDefinition tableDefinition)`
  Creates an inserter for an existing table.
  ``
  `Inserter(Connection connection, TableDefinition tableDefinition, String[] columns)`
  Creates an inserter for an existing table.
  ``
  `Inserter(Connection connection, TableDefinition tableDefinition, List<Inserter.ColumnMapping> columnMappings, List<TableDefinition.Column> inserterDefinition)`
  Creates an inserter for an existing table.