Class SetComment


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

    • schemaName

      private String schemaName
    • objectName

      private String objectName
    • column

      private boolean column
    • columnName

      private String columnName
    • objectType

      private int objectType
    • expr

      private Expression expr
  • Constructor Details

  • Method Details

    • 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(String objectName)
    • setObjectType

      public void setObjectType(int objectType)
    • setColumnName

      public void setColumnName(String columnName)
    • setSchemaName

      public void setSchemaName(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