public void write(org.apache.thrift.protocol.TProtocol oprot, append_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.table != null) { oprot.writeFieldBegin(TABLE_FIELD_DESC); oprot.writeBinary(struct.table); oprot.writeFieldEnd(); } if (struct.append != null) { oprot.writeFieldBegin(APPEND_FIELD_DESC); struct.append.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, append_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.table != null) { oprot.writeFieldBegin(TABLE_FIELD_DESC); oprot.writeBinary(struct.table); oprot.writeFieldEnd(); } if (struct.append != null) { oprot.writeFieldBegin(APPEND_FIELD_DESC); struct.append.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, append_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.table != null) { oprot.writeFieldBegin(TABLE_FIELD_DESC); oprot.writeBinary(struct.table); oprot.writeFieldEnd(); } if (struct.tappend != null) { oprot.writeFieldBegin(TAPPEND_FIELD_DESC); struct.tappend.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, append_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.table != null) { oprot.writeFieldBegin(TABLE_FIELD_DESC); oprot.writeBinary(struct.table); oprot.writeFieldEnd(); } if (struct.tappend != null) { oprot.writeFieldBegin(TAPPEND_FIELD_DESC); struct.tappend.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();