Class SQLCreateFunctionStatement

java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLCreateFunctionStatement
All Implemented Interfaces:
SQLDbTypedObject, SQLObject, SQLObjectWithDataType, SQLStatement, SQLCreateStatement, SQLDDLStatement
Direct Known Subclasses:
HiveCreateFunctionStatement

public class SQLCreateFunctionStatement extends SQLStatementImpl implements SQLCreateStatement, SQLObjectWithDataType
Created by wenshao on 23/05/2017.
  • Field Details

    • definer

      protected SQLName definer
    • create

      protected boolean create
    • orReplace

      protected boolean orReplace
    • name

      protected SQLName name
    • block

      protected SQLStatement block
    • parameters

      protected List<SQLParameter> parameters
    • ifNotExists

      protected boolean ifNotExists
  • Constructor Details

    • SQLCreateFunctionStatement

      public SQLCreateFunctionStatement()
  • Method Details

    • clone

      Specified by:
      clone in interface SQLObject
      Specified by:
      clone in interface SQLStatement
      Overrides:
      clone in class SQLStatementImpl
    • accept0

      public void accept0(SQLASTVisitor visitor)
      Overrides:
      accept0 in class SQLStatementImpl
    • getParameters

      public List<SQLParameter> getParameters()
    • setParameters

      public void setParameters(List<SQLParameter> parameters)
    • getName

      public SQLName getName()
    • setName

      public void setName(SQLName x)
    • getBlock

      public SQLStatement getBlock()
    • setBlock

      public void setBlock(SQLStatement block)
    • getAuthid

      public SQLName getAuthid()
    • setAuthid

      public void setAuthid(SQLName authid)
    • getLanguage

      public String getLanguage()
    • setLanguage

      public void setLanguage(String language)
    • isOrReplace

      public boolean isOrReplace()
    • setOrReplace

      public void setOrReplace(boolean orReplace)
    • getDefiner

      public SQLName getDefiner()
    • setDefiner

      public void setDefiner(SQLName definer)
    • isCreate

      public boolean isCreate()
    • setCreate

      public void setCreate(boolean create)
    • getJavaCallSpec

      public String getJavaCallSpec()
    • setJavaCallSpec

      public void setJavaCallSpec(String javaCallSpec)
    • getReturnDataType

      public SQLDataType getReturnDataType()
    • setReturnDataType

      public void setReturnDataType(SQLDataType returnDataType)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • isDeterministic

      public boolean isDeterministic()
    • setDeterministic

      public void setDeterministic(boolean deterministic)
    • getSchema

      public String getSchema()
    • getDataType

      public SQLDataType getDataType()
      Specified by:
      getDataType in interface SQLObjectWithDataType
    • setDataType

      public void setDataType(SQLDataType dataType)
      Specified by:
      setDataType in interface SQLObjectWithDataType
    • isParallelEnable

      public boolean isParallelEnable()
    • setParallelEnable

      public void setParallelEnable(boolean parallel_enable)
    • isAggregate

      public boolean isAggregate()
    • setAggregate

      public void setAggregate(boolean aggregate)
    • getUsing

      public SQLName getUsing()
    • setUsing

      public void setUsing(SQLName using)
    • isPipelined

      public boolean isPipelined()
    • setPipelined

      public void setPipelined(boolean pipelined)
    • isResultCache

      public boolean isResultCache()
    • setResultCache

      public void setResultCache(boolean resultCache)
    • getWrappedSource

      public String getWrappedSource()
    • setWrappedSource

      public void setWrappedSource(String wrappedSource)
    • isTemporary

      public boolean isTemporary()
    • setTemporary

      public void setTemporary(boolean temporary)
    • isIfNotExists

      public boolean isIfNotExists()
    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)