if (!fragment.hasOptionsJson() || fragment.getOptionsJson().isEmpty()) { list = new OptionList(); } else { try { list = dbContext.getLpPersistence().getMapper().readValue(fragment.getOptionsJson(), OptionList.class); } catch (final Exception e) { throw new ExecutionSetupException("Failure while reading plan options.", e);
output.writeString(15, message.getOptionsJson(), false); if(message.hasContext()) output.writeObject(16, message.getContext(), org.apache.drill.exec.proto.SchemaBitControl.QueryContextInformation.WRITE, false);
/** * <code>optional string options_json = 15;</code> */ public Builder clearOptionsJson() { bitField0_ = (bitField0_ & ~0x00001000); optionsJson_ = getDefaultInstance().getOptionsJson(); onChanged(); return this; } /**
output.writeString(15, message.getOptionsJson(), false); if(message.hasContext()) output.writeObject(16, message.getContext(), org.apache.drill.exec.proto.SchemaBitControl.QueryContextInformation.WRITE, false);
/** * <code>optional string options_json = 15;</code> */ public Builder clearOptionsJson() { bitField0_ = (bitField0_ & ~0x00001000); optionsJson_ = getDefaultInstance().getOptionsJson(); onChanged(); return this; } /**