public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.PreparedStatementHandle message) throws java.io.IOException { if(message.hasServerInfo()) output.writeByteArray(1, message.getServerInfo().toByteArray(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.PreparedStatementHandle message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.GeneralRPCProtos.CompleteRpcMessage message) throws java.io.IOException { if(message.hasHeader()) output.writeObject(1, message.getHeader(), org.apache.drill.exec.proto.SchemaGeneralRPCProtos.RpcHeader.WRITE, false); if(message.hasProtobufBody()) output.writeByteArray(2, message.getProtobufBody().toByteArray(), false); if(message.hasRawBody()) output.writeByteArray(3, message.getRawBody().toByteArray(), false); } public boolean isInitialized(org.apache.drill.exec.proto.GeneralRPCProtos.CompleteRpcMessage message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.BitControl.CustomMessage message) throws java.io.IOException { if(message.hasType()) output.writeInt32(1, message.getType(), false); if(message.hasMessage()) output.writeByteArray(2, message.getMessage().toByteArray(), false); } public boolean isInitialized(org.apache.drill.exec.proto.BitControl.CustomMessage message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.SaslMessage message) throws java.io.IOException { if(message.hasMechanism()) output.writeString(1, message.getMechanism(), false); if(message.hasData()) output.writeByteArray(2, message.getData().toByteArray(), false); if(message.hasStatus()) output.writeEnum(3, message.getStatus().getNumber(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.SaslMessage message)
public void writeTo(Output output, KV message) throws IOException { if(message.key == null) throw new UninitializedMessageException("key", message); output.writeByteArray(1, message.key, false); if(message.value == null) throw new UninitializedMessageException("value", message); output.writeByteArray(2, message.value, false); }
public void writeTo(Output output, KVI message) throws IOException { if(message.key == null) throw new UninitializedMessageException("key", message); output.writeByteArray(1, message.key, false); if(message.value == null) throw new UninitializedMessageException("value", message); output.writeByteArray(2, message.value, false); output.writeFixed32(3, message.id, false); }
public void writeTo(Output output, BytesOp message) throws IOException { if(message.f == 0) throw new UninitializedMessageException(message); output.writeUInt32(1, message.f, false); if(message.c != null) output.writeByteArray(2, message.c, false); if(message.s != null) output.writeByteArray(3, message.s, false); if(message.o != null && message.o != Operator.EQ) output.writeEnum(4, message.o.number, false); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.PreparedStatementHandle message) throws java.io.IOException { if(message.hasServerInfo()) output.writeByteArray(1, message.getServerInfo().toByteArray(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.PreparedStatementHandle message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.GeneralRPCProtos.CompleteRpcMessage message) throws java.io.IOException { if(message.hasHeader()) output.writeObject(1, message.getHeader(), org.apache.drill.exec.proto.SchemaGeneralRPCProtos.RpcHeader.WRITE, false); if(message.hasProtobufBody()) output.writeByteArray(2, message.getProtobufBody().toByteArray(), false); if(message.hasRawBody()) output.writeByteArray(3, message.getRawBody().toByteArray(), false); } public boolean isInitialized(org.apache.drill.exec.proto.GeneralRPCProtos.CompleteRpcMessage message)
public void transferByteRangeTo(Output output, boolean utf8String, int fieldNumber, boolean repeated) throws IOException { if(utf8String) output.writeString(fieldNumber, readString(), repeated); else output.writeByteArray(fieldNumber, readByteArray(), repeated); } }
public void transferByteRangeTo(Output output, boolean utf8String, int fieldNumber, boolean repeated) throws IOException { if(utf8String) output.writeString(fieldNumber, readString(), repeated); else output.writeByteArray(fieldNumber, readByteArray(), repeated); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.BitControl.CustomMessage message) throws java.io.IOException { if(message.hasType()) output.writeInt32(1, message.getType(), false); if(message.hasMessage()) output.writeByteArray(2, message.getMessage().toByteArray(), false); } public boolean isInitialized(org.apache.drill.exec.proto.BitControl.CustomMessage message)
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserBitShared.SaslMessage message) throws java.io.IOException { if(message.hasMechanism()) output.writeString(1, message.getMechanism(), false); if(message.hasData()) output.writeByteArray(2, message.getData().toByteArray(), false); if(message.hasStatus()) output.writeEnum(3, message.getStatus().getNumber(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserBitShared.SaslMessage message)