private ScheduledQueryMaintenanceRequest buildScheduledQueryRequest() {
    ScheduledQueryMaintenanceRequest req = new ScheduledQueryMaintenanceRequest();
    req.setType(work.getType());
    req.setScheduledQuery(work.getScheduledQuery());
    return req;
  }
Scheduled query maintenance task.

CREATES/ALTERS or DROPs a scheduled query.
ql/src/java/org/apache/hadoop/hive/ql/exec/schq/ScheduledQueryMaintenanceTask.java