public void dropResourcePlan(String rpName, boolean ifExists) throws HiveException {
    try {
      String ns = conf.getVar(ConfVars.HIVE_SERVER2_WM_NAMESPACE);
      getMSC().dropResourcePlan(rpName, ns);
    } catch (NoSuchObjectException e) {
      if (!ifExists) {
        throw new HiveException(e, ErrorMsg.RESOURCE_PLAN_NOT_EXISTS, rpName);
      }
    } catch (Exception e) {
      throw new HiveException(e);
    }
  }
Get Default constraints associated with the table that are enabled

@param dbName Database Name
@param tblName Table Name
@return Default constraints associated with the table.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java