struct.setOpen_txnsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.open_txns = new ArrayList<Long>(_list591.size); long _elem592; for (int _i593 = 0; _i593 < _list591.size; ++_i593) { _elem592 = iprot.readI64(); struct.open_txns.add(_elem592); } } struct.setOpen_txnsIsSet(true); struct.abortedBits = iprot.readBinary(); struct.setAbortedBitsIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.min_open_txn = iprot.readI64(); struct.setMin_open_txnIsSet(true); } } }
struct.setOpen_txnsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { org.apache.thrift.protocol.TSet _set441 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.open_txns = new HashSet<Long>(2*_set441.size); for (int _i442 = 0; _i442 < _set441.size; ++_i442) { long _elem443; // optional _elem443 = iprot.readI64(); struct.open_txns.add(_elem443); } } struct.setOpen_txnsIsSet(true); } }
struct.setOpen_txnsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { org.apache.thrift.protocol.TSet _set441 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.open_txns = new HashSet<Long>(2*_set441.size); for (int _i442 = 0; _i442 < _set441.size; ++_i442) { long _elem443; // optional _elem443 = iprot.readI64(); struct.open_txns.add(_elem443); } } struct.setOpen_txnsIsSet(true); } }
struct.setOpen_txnsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { org.apache.thrift.protocol.TList _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.open_txns = new ArrayList<Long>(_list567.size); long _elem568; for (int _i569 = 0; _i569 < _list567.size; ++_i569) { _elem568 = iprot.readI64(); struct.open_txns.add(_elem568); } } struct.setOpen_txnsIsSet(true); struct.abortedBits = iprot.readBinary(); struct.setAbortedBitsIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.min_open_txn = iprot.readI64(); struct.setMin_open_txnIsSet(true); } } }