Class SetComment


  • public class SetComment
    extends DefineCommand
    This class represents the statement COMMENT
    • Field Detail

      • schemaName

        private java.lang.String schemaName
      • objectName

        private java.lang.String objectName
      • column

        private boolean column
      • columnName

        private java.lang.String columnName
      • objectType

        private int objectType
    • Constructor Detail

    • Method Detail

      • update

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

        public void setCommentExpression​(Expression expr)
      • setObjectName

        public void setObjectName​(java.lang.String objectName)
      • setObjectType

        public void setObjectType​(int objectType)
      • setColumnName

        public void setColumnName​(java.lang.String columnName)
      • setSchemaName

        public void setSchemaName​(java.lang.String schemaName)
      • setColumn

        public void setColumn​(boolean column)
      • 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