Package org.apache.drill.exec.server.options

Examples of org.apache.drill.exec.server.options.FragmentOptionsManager


      if(!fragment.hasOptionsJson() || fragment.getOptionsJson().isEmpty()){
        list = new OptionList();
      }else{
        list = dbContext.getConfig().getMapper().readValue(fragment.getOptionsJson(), OptionList.class);
      }
      this.sessionOptions = new FragmentOptionsManager(context.getOptionManager(), list);
    }catch(Exception e){
      throw new ExecutionSetupException("Failure while reading plan options.", e);
    }
    this.allocator = context.getAllocator().getChildAllocator(fragment.getHandle(), fragment.getMemInitial(), fragment.getMemMax());
    this.loader = new QueryClassLoader(dbContext.getConfig(), sessionOptions);
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.server.options.FragmentOptionsManager

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.