Examples of RunOutcome


Examples of org.apache.drill.exec.ref.RunOutcome

    }catch(Exception e){
      exception = e ;
    }
   
    cleanup(outcome);
    return new RunOutcome(outcome, pos, recordCount, exception);
   
  }
View Full Code Here

Examples of org.apache.drill.exec.ref.RunOutcome

          default:
            try {
              Collection<RunOutcome> outcomes = this.futureOutcomes.get();
              List<RunOutcome> l = Lists.newArrayList(outcomes);
              for (int i = 1; i < outcomes.size(); i++) {
                RunOutcome out = l.get(i);
                logger.error("Failure while running query", out, out.exception);
              }
              if (!outcomes.isEmpty()) {
                RunOutcome out = outcomes.iterator().next();
                if (out.exception != null) {
                  throw new RuntimeException("Query Failed while running.", out.exception);
                } else {
                  throw new RuntimeException("Query Failed while running. " + o);
                }
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.