public void write(org.apache.thrift.protocol.TProtocol oprot, Order struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.col != null) { oprot.writeFieldBegin(COL_FIELD_DESC); oprot.writeString(struct.col); oprot.writeFieldEnd(); } oprot.writeFieldBegin(ORDER_FIELD_DESC); oprot.writeI32(struct.order); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, Order struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.col != null) { oprot.writeFieldBegin(COL_FIELD_DESC); oprot.writeString(struct.col); oprot.writeFieldEnd(); } oprot.writeFieldBegin(ORDER_FIELD_DESC); oprot.writeI32(struct.order); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.col != null) { oprot.writeFieldBegin(COL_FIELD_DESC); oprot.writeString(this.col); oprot.writeFieldEnd(); } oprot.writeFieldBegin(ORDER_FIELD_DESC); oprot.writeI32(this.order); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Order struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.col != null) { oprot.writeFieldBegin(COL_FIELD_DESC); oprot.writeString(struct.col); oprot.writeFieldEnd(); } oprot.writeFieldBegin(ORDER_FIELD_DESC); oprot.writeI32(struct.order); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Order struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.col != null) { oprot.writeFieldBegin(COL_FIELD_DESC); oprot.writeString(struct.col); oprot.writeFieldEnd(); } oprot.writeFieldBegin(ORDER_FIELD_DESC); oprot.writeI32(struct.order); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }