Class CreateConstant


  • public class CreateConstant
    extends SchemaOwnerCommand
    This class represents the statement CREATE CONSTANT
    • Field Detail

      • constantName

        private java.lang.String constantName
      • ifNotExists

        private boolean ifNotExists
    • 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