Class HiveInsert
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.dialect.hive.ast.HiveInsert
- All Implemented Interfaces:
SQLDbTypedObject
,SQLObject
,SQLReplaceable
,SQLStatement
-
Field Summary
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
(SQLASTVisitor visitor) void
addValueCause
(SQLInsertStatement.ValuesClause valueClause) clone()
getQuery()
void
setPartitions
(List<SQLAssignItem> partitions) void
void
setTableSource
(SQLName tableName) void
setTableSource
(SQLExprTableSource tableSource) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLInsertInto
addColumn, addInsertBeforeComment, addPartition, cloneTo, getAlias, getColumns, getColumnsString, getColumnsStringHash, getHint, getInsertBeforeCommentsDirect, getPartitions, getTableName, getValues, isOverwrite, replace, setAlias, setColumnsString, setHint, setOverwrite, setQuery, setTableName, setValues
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, 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
-
Constructor Details
-
HiveInsert
public HiveInsert()
-
-
Method Details
-
setPartitions
-
clone
- Specified by:
clone
in interfaceSQLObject
- Specified by:
clone
in interfaceSQLStatement
- Specified by:
clone
in classSQLInsertInto
-
getTableSource
- Overrides:
getTableSource
in classSQLInsertInto
-
setTableSource
- Overrides:
setTableSource
in classSQLInsertInto
-
setTableSource
- Overrides:
setTableSource
in classSQLInsertInto
-
getQuery
- Overrides:
getQuery
in classSQLInsertInto
-
setQuery
- Overrides:
setQuery
in classSQLInsertInto
-
getValuesList
- Overrides:
getValuesList
in classSQLInsertInto
-
addValueCause
- Overrides:
addValueCause
in classSQLInsertInto
-
accept0
- Overrides:
accept0
in classSQLStatementImpl
-
accept0
-