Class HiveInsertStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLInsertInto
com.alibaba.druid.sql.ast.statement.SQLInsertStatement
com.alibaba.druid.sql.dialect.hive.ast.HiveInsertStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLStatement
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alibaba.druid.sql.ast.statement.SQLInsertStatement
SQLInsertStatement.ValuesClause -
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLInsertStatement
upsert, withFields inherited from class com.alibaba.druid.sql.ast.statement.SQLInsertInto
columns, columnsString, columnsStringHash, insertBeforeComments, overwrite, partitions, query, tableSource, valuesListFields 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 voidaccept0(HiveASTVisitor visitor) protected voidaccept0(OdpsASTVisitor visitor) protected voidaccept0(SQLASTVisitor visitor) clone()booleanvoidsetIfNotExists(boolean ifNotExists) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLInsertStatement
cloneTo, getChildren, getDbType, getWith, isAfterSemi, isUpsert, setAfterSemi, setDbType, setUpsert, setWith, toStringMethods inherited from class com.alibaba.druid.sql.ast.statement.SQLInsertInto
addColumn, addInsertBeforeComment, addPartition, addValueCause, cloneTo, getAlias, getColumns, getColumnsString, getColumnsStringHash, getHint, getInsertBeforeCommentsDirect, getPartitions, getQuery, getTableName, getTableSource, getValues, getValuesList, isOverwrite, replace, setAlias, setColumnsString, setHint, setOverwrite, setQuery, setQuery, setTableName, setTableSource, setTableSource, setValuesMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
setHeadHints, toLowerCaseString, toParameterizedString, toString, toUnformattedStringMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSourceColumn, 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, hasAfterComment, hasBeforeComment, output, putAttribute, setParentMethods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
getChildren, getDbType, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Constructor Details
-
HiveInsertStatement
public HiveInsertStatement()
-
-
Method Details
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLStatement- Overrides:
clonein classSQLInsertStatement
-
accept0
- Overrides:
accept0in classSQLInsertStatement
-
accept0
-
accept0
-
getHeadHintsDirect
- Specified by:
getHeadHintsDirectin interfaceSQLStatement- Overrides:
getHeadHintsDirectin classSQLStatementImpl
-
isIfNotExists
public boolean isIfNotExists() -
setIfNotExists
public void setIfNotExists(boolean ifNotExists)
-