# Uses of Class
com.tableau.hyperapi.SqlType

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

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

  Methods in com.tableau.hyperapi that return SqlType
  Modifier and Type
  Method
  Description
  `static SqlType`
  SqlType.`bigInt()`
  Returns the BIG_INT SQL type.
  `static SqlType`
  SqlType.`bool()`
  Returns the BOOL SQL type.
  `static SqlType`
  SqlType.`bytes()`
  Returns the BYTES SQL type.
  `static SqlType`
  SqlType.`character(int maxLength)`
  Returns the CHAR SQL type.
  `static SqlType`
  SqlType.`date()`
  Returns the DATE SQL type.
  `static SqlType`
  SqlType.`doublePrecision()`
  Returns the DOUBLE PRECISION SQL type.
  `static SqlType`
  SqlType.`geography()`
  Returns the GEOGRAPHY SQL type.
  `SqlType`
  ResultSchema.Column.`getType()`
  Returns the SQL type of the column.
  `SqlType`
  TableDefinition.Column.`getType()`
  Returns the type of the column.
  `static SqlType`
  SqlType.`integer()`
  Returns the INT SQL type.
  `static SqlType`
  SqlType.`interval()`
  Returns the INTERVAL SQL type.
  `static SqlType`
  SqlType.`json()`
  Returns the JSON SQL type.
  `static SqlType`
  SqlType.`numeric(int precision, int scale)`
  Returns the NUMERIC SQL type.
  `static SqlType`
  SqlType.`oid()`
  Returns the OID SQL type.
  `static SqlType`
  SqlType.`real()`
  Returns the REAL SQL type.
  `static SqlType`
  SqlType.`smallInt()`
  Returns the SMALL_INT SQL type.
  `static SqlType`
  SqlType.`tabgeography()`
  Returns the TABGEOGRAPHY SQL type.
  `static SqlType`
  SqlType.`text()`
  Returns the TEXT SQL type.
  `static SqlType`
  SqlType.`time()`
  Returns the TIME SQL type.
  `static SqlType`
  SqlType.`timestamp()`
  Returns the TIMESTAMP SQL type.
  `static SqlType`
  SqlType.`timestampTz()`
  Returns the TIMESTAMP_TZ SQL type.
  `static SqlType`
  SqlType.`varchar(int maxLength)`
  Returns the VARCHAR SQL type.
  Methods in com.tableau.hyperapi with parameters of type SqlType
  Modifier and Type
  Method
  Description
  `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.
  `int`
  SqlType.`compareTo(SqlType other)`
  Compares this SQL type with the specified SQL type for order.
  Constructors in com.tableau.hyperapi with parameters of type SqlType
  Modifier
  Constructor
  Description
  ``
  `Column(Name columnName, SqlType type)`
  Creates a column.
  ``
  `Column(Name columnName, SqlType type)`
  Creates a column.
  ``
  `Column(Name columnName, SqlType type, Nullability nullability)`
  Creates a column.
  ``
  `Column(Name columnName, SqlType type, String collation)`
  Creates a column.
  ``
  `Column(Name columnName, SqlType type, String collation, Nullability nullability)`
  Creates a column.
  ``
  `Column(String columnName, SqlType type)`
  Creates a column.
  ``
  `Column(String columnName, SqlType type, Nullability nullability)`
  Creates a column.
  ``
  `Column(String columnName, SqlType type, String collation)`
  Creates a column.
  ``
  `Column(String columnName, SqlType type, String collation, Nullability nullability)`
  Creates a column.