@Override public boolean readBool() throws IOException { return input.readBool(); }
@Override public Boolean readFrom(Input input) throws IOException { return input.readBool() ? Boolean.TRUE : Boolean.FALSE; }
@Override public Boolean readFrom(Input input) throws IOException { return input.readBool() ? Boolean.TRUE : Boolean.FALSE; }
@Override public Boolean readFrom(Input input) throws IOException { return input.readBool() ? Boolean.TRUE : Boolean.FALSE; }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeBool(number, input.readBool(), repeated); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeBool(number, input.readBool(), repeated); }
@Override public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException { output.writeBool(number, input.readBool(), repeated); }
protected Object readPrimitiveFrom(Input input, Object owner, int len) throws IOException { boolean[] array = new boolean[len]; if (input instanceof GraphInput) { // update the actual reference. ((GraphInput) input).updateLast(array, owner); } for (int i = 0; i < len; i++) { if (ID_ARRAY_DATA != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); array[i] = input.readBool(); } if (0 != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); return array; }
protected Object readPrimitiveFrom(Input input, Object owner, int len) throws IOException { boolean[] array = new boolean[len]; if (input instanceof GraphInput) { // update the actual reference. ((GraphInput) input).updateLast(array, owner); } for (int i = 0; i < len; i++) { if (ID_ARRAY_DATA != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); array[i] = input.readBool(); } if (0 != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); return array; }
protected Object readBoxedFrom(Input input, Object owner, int len) throws IOException { final Boolean[] array = new Boolean[len]; if (input instanceof GraphInput) { // update the actual reference. ((GraphInput) input).updateLast(array, owner); } for (int i = 0; i < len;) { switch (input.readFieldNumber(this)) { case ID_ARRAY_DATA: array[i++] = input.readBool(); break; case ID_ARRAY_NULLCOUNT: i += input.readUInt32(); break; default: throw new ProtostuffException("Corrupt input."); } } if (0 != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); return array; }
protected Object readBoxedFrom(Input input, Object owner, int len) throws IOException { final Boolean[] array = new Boolean[len]; if (input instanceof GraphInput) { // update the actual reference. ((GraphInput) input).updateLast(array, owner); } for (int i = 0; i < len;) { switch (input.readFieldNumber(this)) { case ID_ARRAY_DATA: array[i++] = input.readBool(); break; case ID_ARRAY_NULLCOUNT: i += input.readUInt32(); break; default: throw new ProtostuffException("Corrupt input."); } } if (0 != input.readFieldNumber(this)) throw new ProtostuffException("Corrupt input."); return array; }
if (message.someBoolean == null) message.someBoolean = new ArrayList<Boolean>(); message.someBoolean.add(input.readBool()); break; case 7:
break; case 6: message.someBoolean = input.readBool(); break; case 7:
@Override public Object readFrom(Input input) throws IOException { return input.readBool(); }
@Override public void mergeFrom(Input input, Object message) throws IOException { setter.set(message, input.readBool()); }
public void mergeFrom(Input input, Ack message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.ok = input.readBool(); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, ParquetFileConfig message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.autoCorrectCorruptDates = input.readBool(); break; default: input.handleUnknownField(number, this); } } }
@Override public void mergeFrom(Input input, EdgeSummaryQueryMessage message) throws IOException { int number; while ((number = input.readFieldNumber(this)) != 0) { switch (number) { case 1: message.scanLimitHit = input.readBool(); break; case 2: message.queryLogicWarning = input.readString(); break; default: input.handleUnknownField(number, this); break; } } }
public void mergeFrom(Input input, AccelerationData message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: message.enabled = input.readBool(); break; case 2: if(message.info == null) message.info = new ArrayList<Info>(); message.info.add(input.mergeObject(null, Info.getSchema())); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(io.protostuff.Input input, com.dremio.exec.proto.GeneralRPCProtos.Ack.Builder builder) throws java.io.IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: builder.setOk(input.readBool()); break; default: input.handleUnknownField(number, this); } } } public boolean isInitialized(com.dremio.exec.proto.GeneralRPCProtos.Ack.Builder builder)