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

Examples of org.apache.drill.exec.work.fragment.FragmentManager


    FragmentRecordBatch fragmentBatch = get(pBody, FragmentRecordBatch.PARSER);
    FragmentHandle handle = fragmentBatch.getHandle();

    try {
      FragmentManager manager = workBus.getOrCreateFragmentManager(fragmentBatch.getHandle());
      if (manager == null) {
        if (body != null) {
          body.release();
        }
      }
      BufferAllocator allocator = manager.getFragmentContext().getAllocator();
      if(body != null){
        if(!allocator.takeOwnership((DrillBuf) body.unwrap())){
          dataHandler.handle(connection, manager, OOM_FRAGMENT, null, null);
        }
      }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.work.fragment.FragmentManager

Copyright © 2018 www.massapicom. 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.