Class CreateTableStmtBuilder
java.lang.Object
org.apache.drill.exec.store.jdbc.utils.CreateTableStmtBuilder
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreateTableStmtBuilder
(List<String> tableIdentifier, org.apache.calcite.sql.SqlDialect dialect) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addColumn
(MaterializedField field) Adds a column to the CREATE TABLE statementbuild()
Generates the CREATE TABLE query.
-
Field Details
-
DEFAULT_VARCHAR_PRECISION
public static final int DEFAULT_VARCHAR_PRECISION- See Also:
-
-
Constructor Details
-
CreateTableStmtBuilder
-
-
Method Details
-
addColumn
Adds a column to the CREATE TABLE statement -
build
Generates the CREATE TABLE query.- Returns:
- The create table query.
-