Class HiveLoadDataStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.dialect.hive.stmt.HiveLoadDataStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement
public class HiveLoadDataStatement extends SQLStatementImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,SQLObject>serdePropertiesprotected SQLExprusing-
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
Constructors Constructor Description HiveLoadDataStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(HiveASTVisitor visitor)protected voidaccept0(SQLASTVisitor visitor)voidaddPartion(SQLAssignItem item)SQLExternalRecordFormatgetFormat()SQLExprgetInpath()SQLExprTableSourcegetInto()List<SQLExpr>getPartition()SQLExprgetRowFormat()Map<String,SQLObject>getSerdeProperties()SQLExprgetStoredAs()SQLExprgetStoredBy()SQLExprgetUsing()booleanisLocal()booleanisOverwrite()voidsetFormat(SQLExternalRecordFormat x)voidsetInpath(SQLExpr x)voidsetInto(SQLExpr x)voidsetInto(SQLExprTableSource x)voidsetLocal(boolean local)voidsetOverwrite(boolean overwrite)voidsetRowFormat(SQLExpr x)voidsetStoredAs(SQLExpr x)voidsetStoredBy(SQLExpr x)voidsetUsing(SQLExpr x)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, cloneTo, 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, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, 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, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLStatementImpl
-
accept0
protected void accept0(HiveASTVisitor visitor)
-
isLocal
public boolean isLocal()
-
setLocal
public void setLocal(boolean local)
-
getInpath
public SQLExpr getInpath()
-
setInpath
public void setInpath(SQLExpr x)
-
isOverwrite
public boolean isOverwrite()
-
setOverwrite
public void setOverwrite(boolean overwrite)
-
getInto
public SQLExprTableSource getInto()
-
setInto
public void setInto(SQLExprTableSource x)
-
setInto
public void setInto(SQLExpr x)
-
addPartion
public void addPartion(SQLAssignItem item)
-
getFormat
public SQLExternalRecordFormat getFormat()
-
setFormat
public void setFormat(SQLExternalRecordFormat x)
-
getStoredBy
public SQLExpr getStoredBy()
-
setStoredBy
public void setStoredBy(SQLExpr x)
-
getStoredAs
public SQLExpr getStoredAs()
-
setStoredAs
public void setStoredAs(SQLExpr x)
-
getRowFormat
public SQLExpr getRowFormat()
-
setRowFormat
public void setRowFormat(SQLExpr x)
-
getUsing
public SQLExpr getUsing()
-
setUsing
public void setUsing(SQLExpr x)
-
-