Class CreateConstant


  • public class CreateConstant
    extends SchemaCommand
    This class represents the statement CREATE CONSTANT
    • Constructor Detail

    • Method Detail

      • setIfNotExists

        public void setIfNotExists​(boolean ifNotExists)
      • setConstantName

        public void setConstantName​(java.lang.String constantName)
      • setExpression

        public void setExpression​(Expression expr)
      • 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
      • update

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