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, with
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLInsertInto
columns, columnsString, columnsStringHash, insertBeforeComments, overwrite, partitions, query, tableSource, valuesList
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(HiveASTVisitor visitor) protected void
accept0
(OdpsASTVisitor visitor) protected void
accept0
(SQLASTVisitor visitor) clone()
boolean
void
setIfNotExists
(boolean ifNotExists) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLInsertStatement
cloneTo, getChildren, getDbType, getWith, isAfterSemi, isUpsert, setAfterSemi, setDbType, setUpsert, setWith, toString
Methods 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, setValues
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
setHeadHints, toLowerCaseString, toParameterizedString, toString, toUnformattedString
Methods 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, output, putAttribute, setParent, setSourceColumn, setSourceLine
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
Methods 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:
clone
in interfaceSQLObject
- Specified by:
clone
in interfaceSQLStatement
- Overrides:
clone
in classSQLInsertStatement
-
accept0
- Overrides:
accept0
in classSQLInsertStatement
-
accept0
-
accept0
-
getHeadHintsDirect
- Specified by:
getHeadHintsDirect
in interfaceSQLStatement
- Overrides:
getHeadHintsDirect
in classSQLStatementImpl
-
isIfNotExists
public boolean isIfNotExists() -
setIfNotExists
public void setIfNotExists(boolean ifNotExists)
-