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
-
Field Summary
Modifier and TypeFieldDescriptionprotected SQLExpr
protected String
protected boolean
protected SQLExpr
protected HiveCreateFunctionStatement.ResourceType
protected SQLExpr
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateFunctionStatement
block, create, definer, ifNotExists, name, 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(HiveASTVisitor visitor) void
accept0
(SQLASTVisitor visitor) getCode()
boolean
void
void
void
setDeclare
(boolean declare) void
void
setResourceType
(HiveCreateFunctionStatement.ResourceType resourceType) void
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateFunctionStatement
clone, getAuthid, getBlock, getComment, getDataType, getDefiner, getJavaCallSpec, getLanguage, getName, 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
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, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, 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
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Field Details
-
declare
protected boolean declare -
className
-
location
-
symbol
-
resourceType
-
code
-
-
Constructor Details
-
HiveCreateFunctionStatement
public HiveCreateFunctionStatement()
-
-
Method Details
-
accept0
- Overrides:
accept0
in classSQLCreateFunctionStatement
-
accept0
-
getClassName
-
setClassName
-
getLocation
-
setLocation
-
getSymbol
-
setSymbol
-
getResourceType
-
setResourceType
-
getCode
-
setCode
-
isDeclare
public boolean isDeclare() -
setDeclare
public void setDeclare(boolean declare)
-