public class SqlCreateHiveTable extends SqlCreateTable
Modifier and Type | Class and Description |
---|---|
static class |
SqlCreateHiveTable.HiveTableCreationContext
Creation context for a Hive table.
|
static class |
SqlCreateHiveTable.HiveTableRowFormat
To represent ROW FORMAT in CREATE TABLE DDL.
|
static class |
SqlCreateHiveTable.HiveTableStoredAs
To represent STORED AS in CREATE TABLE DDL.
|
SqlCreateTable.TableCreationContext
Modifier and Type | Field and Description |
---|---|
static String |
IDENTIFIER |
static String |
NOT_NULL_COLS |
static String |
NOT_NULL_CONSTRAINT_TRAITS |
static String |
PK_CONSTRAINT_TRAIT |
static String |
TABLE_IS_EXTERNAL |
static String |
TABLE_LOCATION_URI |
OPERATOR
Constructor and Description |
---|
SqlCreateHiveTable(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
org.apache.calcite.sql.SqlNodeList columnList,
SqlCreateHiveTable.HiveTableCreationContext creationContext,
org.apache.calcite.sql.SqlNodeList propertyList,
org.apache.calcite.sql.SqlNodeList partColList,
org.apache.calcite.sql.SqlCharStringLiteral comment,
boolean isTemporary,
boolean isExternal,
SqlCreateHiveTable.HiveTableRowFormat rowFormat,
SqlCreateHiveTable.HiveTableStoredAs storedAs,
org.apache.calcite.sql.SqlCharStringLiteral location,
boolean ifNotExists) |
Modifier and Type | Method and Description |
---|---|
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
fullTableName, getColumnList, getColumnSqlString, getComment, getFullConstraints, getOperandList, getOperator, getPartitionKeyList, getPropertyList, getTableConstraints, getTableName, getWatermark, hasRegularColumnsOnly, isIfNotExists, isTemporary, validate
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public static final String IDENTIFIER
public static final String TABLE_LOCATION_URI
public static final String TABLE_IS_EXTERNAL
public static final String PK_CONSTRAINT_TRAIT
public static final String NOT_NULL_CONSTRAINT_TRAITS
public static final String NOT_NULL_COLS
public SqlCreateHiveTable(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlIdentifier tableName, org.apache.calcite.sql.SqlNodeList columnList, SqlCreateHiveTable.HiveTableCreationContext creationContext, org.apache.calcite.sql.SqlNodeList propertyList, org.apache.calcite.sql.SqlNodeList partColList, @Nullable org.apache.calcite.sql.SqlCharStringLiteral comment, boolean isTemporary, boolean isExternal, SqlCreateHiveTable.HiveTableRowFormat rowFormat, SqlCreateHiveTable.HiveTableStoredAs storedAs, org.apache.calcite.sql.SqlCharStringLiteral location, boolean ifNotExists) throws ParseException
ParseException
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class SqlCreateTable
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.