Examples of HiveP


Examples of com.taobao.zeus.web.platform.client.module.jobdisplay.job.ProcesserType.HiveP

    for (String post : t.getPostProcessers()) {
      if (post != null) {
        ProcesserType p = ProcesserType.parse(post);
        if (p != null) {
          if (p.getId().equalsIgnoreCase("hive")) {
            HiveP hiveP = (HiveP) p;
            outputTableField.setValue(hiveP.getOutputTables());
            if (hiveP.getKeepDays() != null) {
              keepDaysField.setValue(Integer.parseInt(hiveP
                  .getKeepDays()));
            }
            if (hiveP.getDriftPercent() != null) {
              driftPercentField.setValue(Integer.parseInt(hiveP
                  .getDriftPercent()));
            }
            syncTableField.setValue(hiveP.getSyncTables());
          } else if (p.getId().equalsIgnoreCase("zookeeper")) {
            if (!((ZooKeeperP) p).getUseDefault()) {
              zkWindow.setProcesser((ZooKeeperP) p);
            }
          }
View Full Code Here

Examples of com.taobao.zeus.web.platform.client.module.jobdisplay.job.ProcesserType.HiveP

    for (String post : model.getPostProcessers()) {
      if (post != null) {
        ProcesserType p = ProcesserType.parse(post);
        if (p != null) {
          if (p.getId().equalsIgnoreCase("hive")) {
            HiveP hiveP = (HiveP) p;
            ((Label)outputTableLabel.getWidget()).setText(hiveP.getOutputTables());
            ((Label)keepDaysLabel.getWidget()).setText(hiveP.getKeepDays());
            ((Label)driftPercentLabel.getWidget()).setText(hiveP.getDriftPercent());
            ((Label)syncTableLabel.getWidget()).setText(hiveP.getSyncTables());
            if(hiveP.getOutputTables()!=null&&!hiveP.getOutputTables().isEmpty()) {
              outputTableLabel.show();
            }
            if(hiveP.getKeepDays()!=null&&!hiveP.getKeepDays().isEmpty()) {
              keepDaysLabel.show();
            }
            if(hiveP.getDriftPercent()!=null&&!hiveP.getDriftPercent().isEmpty()) {
              driftPercentLabel.show();
            }
            if(hiveP.getSyncTables()!=null&&!hiveP.getSyncTables().isEmpty()) {
              syncTableLabel.show();
            }
            getHiveProcesserFieldSet().show();
          } else if (p.getId().equalsIgnoreCase("zookeeper")) {
            ZooKeeperP zp = (ZooKeeperP) p;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.