Class SparkCreateTableStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
com.alibaba.druid.sql.dialect.spark.ast.SparkCreateTableStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement,SQLCreateStatement,SQLDDLStatement
- Version:
- $Id: AntsparkCreateTableStatement.java, v 0.1 2018年09月14日 15:02 peiheng.qph Exp $
- Author:
- peiheng.qph
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
SQLCreateTableStatement.FeatureNested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType -
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
buckets, clusteredBy, clusteringType, comment, compress, features, ignore, inherits, lifeCycle, like, localPartitioning, location, logging, onCommitDeleteRows, onCommitPreserveRows, partitionBy, partitionColumns, partitionOf, replace, rowFormat, select, shards, single, sortedBy, storedAs, storedBy, tableElementList, tableOptions, tableSource, tablespace, uniqueFields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHintsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidvoidaddSkewedBy(SQLExpr item) voidaddSkewedByOn(SQLExpr item) Getter method for property datasource.voidsetDatasource(SQLExpr datasource) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
addBodyBeforeComment, addClusteredByItem, addColumn, addColumn, addOption, addPartitionColumn, addSortedByItem, addTblProperty, alterApply, apply, apply, apply, apply, clone, cloneTo, columnIndexOf, computeName, config, config, containsDuplicateColumnNames, containsDuplicateColumnNames, findColumn, findColumn, findForeignKey, findIndex, findPrimaryKey, findUnique, forEachColumn, foreignKeyToAlterTable, getBodyBeforeCommentsDirect, getBuckets, getCatalog, getChildren, getClusteredBy, getClusteringType, getColumn, getColumnComments, getColumnDefinitions, getColumnNames, getComment, getCompress, getDDLObjectType, getInherits, getLifeCycle, getLike, getLocalPartitioning, getLocation, getLogging, getName, getOption, getOptionOrTblPropertyValue, getOptionValue, getPartitionColumns, getPartitioning, getPartitionOf, getPrimaryKeyNames, getRowFormat, getSchema, getSelect, getShards, getSortedBy, getStoredAs, getStoredBy, getTableElementList, getTableName, getTableOptions, getTableSource, getTablespace, getTblProperties, getTblProperty, getTblPropertyValue, getUnique, hasBodyBeforeComment, hashForeignKey, isDimension, isEnabled, isExternal, isIfNotExists, isIgnore, isMUL, isOnCommitPreserveRows, isOnlyPrimaryKey, isPrimaryColumn, isPrimaryColumn, isReferenced, isReferenced, isReplace, isSingle, isTemporary, isUNI, removeOption, renameColumn, setBuckets, setClusteringType, setComment, setCompress, setDimension, setExternal, setIfNotExists, setIgnore, setInherits, setLifeCycle, setLike, setLike, setLocalPartitioning, setLocation, setLogging, setName, setName, setOnCommitPreserveRows, setPartitionBy, setPartitionOf, setReplace, setRowFormat, setSchema, setSelect, setShards, setSingle, setStoredAs, setStoredBy, setTableName, setTableSource, setTablespace, setTemporary, setUnique, simplify, sort, toStringMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
cloneTo, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toUnformattedStringMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLineMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSourceMethods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString
-
Field Details
-
mappedBy
-
skewedBy
-
skewedByOn
-
serdeProperties
-
datasource
-
-
Constructor Details
-
SparkCreateTableStatement
public SparkCreateTableStatement()
-
-
Method Details
-
getMappedBy
-
getSkewedBy
-
addSkewedBy
-
getSkewedByOn
-
addSkewedByOn
-
getSerdeProperties
-
setDatasource
-
getDatasource
Getter method for property datasource.- Returns:
- property value of datasource
-
accept0
- Overrides:
accept0in classSQLCreateTableStatement
-
accept0
-
acceptChild
- Overrides:
acceptChildin classSQLCreateTableStatement
-