Class CreateFunctionAlias


  • public class CreateFunctionAlias
    extends SchemaCommand
    This class represents the statement CREATE ALIAS
    • Field Detail

      • aliasName

        private java.lang.String aliasName
      • javaClassMethod

        private java.lang.String javaClassMethod
      • deterministic

        private boolean deterministic
      • ifNotExists

        private boolean ifNotExists
      • force

        private boolean force
      • source

        private java.lang.String source
    • Constructor Detail

      • CreateFunctionAlias

        public CreateFunctionAlias​(SessionLocal session,
                                   Schema schema)
    • Method Detail

      • update

        public long update()
        Description copied from class: Prepared
        Execute the statement.
        Overrides:
        update in class Prepared
        Returns:
        the update count
      • setAliasName

        public void setAliasName​(java.lang.String name)
      • setJavaClassMethod

        public void setJavaClassMethod​(java.lang.String method)
        Set the qualified method name after removing whitespace.
        Parameters:
        method - the qualified method name
      • setIfNotExists

        public void setIfNotExists​(boolean ifNotExists)
      • setForce

        public void setForce​(boolean force)
      • setDeterministic

        public void setDeterministic​(boolean deterministic)
      • setSource

        public void setSource​(java.lang.String source)
      • getType

        public int getType()
        Description copied from class: Prepared
        Get the command type as defined in CommandInterface
        Specified by:
        getType in class Prepared
        Returns:
        the statement type