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);