public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.column_or_supercolumn != null) { if (struct.isSetColumn_or_supercolumn()) { oprot.writeFieldBegin(COLUMN_OR_SUPERCOLUMN_FIELD_DESC); struct.column_or_supercolumn.write(oprot); oprot.writeFieldEnd(); } } if (struct.deletion != null) { if (struct.isSetDeletion()) { oprot.writeFieldBegin(DELETION_FIELD_DESC); struct.deletion.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.column_or_supercolumn != null) { if (struct.isSetColumn_or_supercolumn()) { oprot.writeFieldBegin(COLUMN_OR_SUPERCOLUMN_FIELD_DESC); struct.column_or_supercolumn.write(oprot); oprot.writeFieldEnd(); } } if (struct.deletion != null) { if (struct.isSetDeletion()) { oprot.writeFieldBegin(DELETION_FIELD_DESC); struct.deletion.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.column_or_supercolumn != null) { if (struct.isSetColumn_or_supercolumn()) { oprot.writeFieldBegin(COLUMN_OR_SUPERCOLUMN_FIELD_DESC); struct.column_or_supercolumn.write(oprot); oprot.writeFieldEnd(); } } if (struct.deletion != null) { if (struct.isSetDeletion()) { oprot.writeFieldBegin(DELETION_FIELD_DESC); struct.deletion.write(oprot); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }