public MajorType newMessage() { return new MajorType(); }
return; case 1: message.majorType = input.mergeObject(message.majorType, org.apache.drill.common.types.MajorType.getSchema()); break;
public void writeTo(Output output, SerializedField message) throws IOException { if(message.majorType != null) output.writeObject(1, message.majorType, org.apache.drill.common.types.MajorType.getSchema(), false); if(message.namePart != null) output.writeObject(2, message.namePart, NamePart.getSchema(), false); if(message.child != null) { for(SerializedField child : message.child) { if(child != null) output.writeObject(3, child, SerializedField.getSchema(), true); } } if(message.valueCount != 0) output.writeInt32(4, message.valueCount, false); if(message.varByteLength != 0) output.writeInt32(5, message.varByteLength, false); if(message.bufferLength != 0) output.writeInt32(7, message.bufferLength, false); }
return; case 1: message.majorType = input.mergeObject(message.majorType, org.apache.drill.common.types.MajorType.getSchema()); break;
public MajorType newMessage() { return new MajorType(); }
public void writeTo(Output output, SerializedField message) throws IOException { if(message.majorType != null) output.writeObject(1, message.majorType, org.apache.drill.common.types.MajorType.getSchema(), false); if(message.namePart != null) output.writeObject(2, message.namePart, NamePart.getSchema(), false); if(message.child != null) { for(SerializedField child : message.child) { if(child != null) output.writeObject(3, child, SerializedField.getSchema(), true); } } if(message.valueCount != 0) output.writeInt32(4, message.valueCount, false); if(message.varByteLength != 0) output.writeInt32(5, message.varByteLength, false); if(message.bufferLength != 0) output.writeInt32(7, message.bufferLength, false); }