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, 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(SQLASTVisitor visitor) voidaddValueCause(SQLInsertStatement.ValuesClause valueClause) clone()getQuery()voidsetPartitions(List<SQLAssignItem> partitions) voidvoidsetTableSource(SQLName tableName) voidsetTableSource(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, setValuesMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, 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, 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, output, putAttribute, setParent
-
Constructor Details
-
HiveInsert
public HiveInsert()
-
-
Method Details
-
setPartitions
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLStatement- Specified by:
clonein classSQLInsertInto
-
getTableSource
- Overrides:
getTableSourcein classSQLInsertInto
-
setTableSource
- Overrides:
setTableSourcein classSQLInsertInto
-
setTableSource
- Overrides:
setTableSourcein classSQLInsertInto
-
getQuery
- Overrides:
getQueryin classSQLInsertInto
-
setQuery
- Overrides:
setQueryin classSQLInsertInto
-
getValuesList
- Overrides:
getValuesListin classSQLInsertInto
-
addValueCause
- Overrides:
addValueCausein classSQLInsertInto
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-
accept0
-