Class HiveCreateFunctionStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.ast.statement.SQLCreateFunctionStatement
-
- com.alibaba.druid.sql.dialect.hive.stmt.HiveCreateFunctionStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLObjectWithDataType,SQLStatement,SQLCreateStatement,SQLDDLStatement
public class HiveCreateFunctionStatement extends SQLCreateFunctionStatement implements SQLCreateStatement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHiveCreateFunctionStatement.ResourceType-
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLExprclassNameprotected Stringcodeprotected booleandeclareprotected SQLExprlocationprotected HiveCreateFunctionStatement.ResourceTyperesourceTypeprotected SQLExprsymbol-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateFunctionStatement
block, create, definer, ifNotExists, name, options, orReplace, parameters
-
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 HiveCreateFunctionStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(HiveASTVisitor visitor)voidaccept0(SQLASTVisitor visitor)SQLExprgetClassName()StringgetCode()SQLExprgetLocation()HiveCreateFunctionStatement.ResourceTypegetResourceType()SQLExprgetSymbol()booleanisDeclare()voidsetClassName(SQLExpr x)voidsetCode(String code)voidsetDeclare(boolean declare)voidsetLocation(SQLExpr x)voidsetResourceType(HiveCreateFunctionStatement.ResourceType resourceType)voidsetSymbol(SQLExpr x)-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateFunctionStatement
clone, getAuthid, getBlock, getComment, getDataType, getDefiner, getJavaCallSpec, getLanguage, getName, getOptions, getParameter, getParameters, getReturnDataType, getSchema, getUsing, getWrappedSource, isAggregate, isCreate, isDeterministic, isIfNotExists, isOrReplace, isParallelEnable, isPipelined, isResultCache, isTemporary, setAggregate, setAuthid, setBlock, setComment, setCreate, setDataType, setDefiner, setDeterministic, setIfNotExists, setJavaCallSpec, setLanguage, setName, setOrReplace, setParallelEnable, setParameters, setPipelined, setResultCache, setReturnDataType, setTemporary, setUsing, setWrappedSource
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
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.statement.SQLCreateStatement
getName
-
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
getDDLObjectType
-
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
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
-
-
-
Field Detail
-
declare
protected boolean declare
-
className
protected SQLExpr className
-
location
protected SQLExpr location
-
symbol
protected SQLExpr symbol
-
resourceType
protected HiveCreateFunctionStatement.ResourceType resourceType
-
code
protected String code
-
-
Method Detail
-
accept0
public void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLCreateFunctionStatement
-
accept0
protected void accept0(HiveASTVisitor visitor)
-
getClassName
public SQLExpr getClassName()
-
setClassName
public void setClassName(SQLExpr x)
-
getLocation
public SQLExpr getLocation()
-
setLocation
public void setLocation(SQLExpr x)
-
getSymbol
public SQLExpr getSymbol()
-
setSymbol
public void setSymbol(SQLExpr x)
-
getResourceType
public HiveCreateFunctionStatement.ResourceType getResourceType()
-
setResourceType
public void setResourceType(HiveCreateFunctionStatement.ResourceType resourceType)
-
getCode
public String getCode()
-
setCode
public void setCode(String code)
-
isDeclare
public boolean isDeclare()
-
setDeclare
public void setDeclare(boolean declare)
-
-