}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TDelete struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.row = iprot.readBinary();
struct.setRowIsSet(true);
BitSet incoming = iprot.readBitSet(6);
if (incoming.get(0)) {
{
org.apache.thrift.protocol.TList _list55 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.columns = new ArrayList<TColumn>(_list55.size);
for (int _i56 = 0; _i56 < _list55.size; ++_i56)
{
TColumn _elem57; // required
_elem57 = new TColumn();
_elem57.read(iprot);
struct.columns.add(_elem57);
}
}
struct.setColumnsIsSet(true);
}
if (incoming.get(1)) {
struct.timestamp = iprot.readI64();
struct.setTimestampIsSet(true);
}
if (incoming.get(2)) {
struct.deleteType = TDeleteType.findByValue(iprot.readI32());
struct.setDeleteTypeIsSet(true);
}
if (incoming.get(3)) {
struct.writeToWal = iprot.readBool();
struct.setWriteToWalIsSet(true);
}
if (incoming.get(4)) {
{
org.apache.thrift.protocol.TMap _map58 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
struct.attributes = new HashMap<ByteBuffer,ByteBuffer>(2*_map58.size);
for (int _i59 = 0; _i59 < _map58.size; ++_i59)
{
ByteBuffer _key60; // required
ByteBuffer _val61; // optional
_key60 = iprot.readBinary();
_val61 = iprot.readBinary();
struct.attributes.put(_key60, _val61);
}
}
struct.setAttributesIsSet(true);
}
if (incoming.get(5)) {
struct.durability = TDurability.findByValue(iprot.readI32());
struct.setDurabilityIsSet(true);
}
}