code: public static String getLimitPartitionRowsDeleteStmt(Table table) {
          CatalogMap<Statement> map = table.getTuplelimitdeletestmt();
          if (map.isEmpty()) {
              return null;
          }
  
          assert (map.size() == 1);
          return map.iterator().next().getSqltext();
      }
docs: Given a table, return the DELETE statement that can be executed
  by a LIMIT PARTITION ROWS constraint, or NULL if there isn't one.