Package org.apache.drill.exec.work.fragment

Examples of org.apache.drill.exec.work.fragment.FragmentExecutor.cancel()


    return Acks.OK;
  }

  public Ack cancelFragment(FragmentHandle handle){
    FragmentExecutor runner = bee.getFragmentRunner(handle);
    if(runner != null) runner.cancel();
    return Acks.OK;
  }

  public SchemaFactory getSchemaFactory(){
    return bee.getContext().getSchemaFactory();
View Full Code Here


      // try remote fragment cancel.
      manager.cancel();
    }else{
      // then try local cancel.
      FragmentExecutor runner = bee.getFragmentRunner(handle);
      if(runner != null) runner.cancel();
    }

    return Acks.OK;
  }
View Full Code Here

  }

  public Ack cancelFragment(FragmentHandle handle) {
    FragmentExecutor runner = bee.getFragmentRunner(handle);
    if (runner != null) {
      runner.cancel();
    }
    return Acks.OK;
  }

  public SchemaFactory getSchemaFactory() {
View Full Code Here

      manager.cancel();
    } else {
      // then try local cancel.
      FragmentExecutor runner = bee.getFragmentRunner(handle);
      if (runner != null) {
        runner.cancel();
      }
    }

    return Acks.OK;
  }
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.