private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
TPut put; put = new TPut(); put.read(iprot); return put; } else {
@Override protected java.lang.Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { case PUT: TPut put; put = new TPut(); put.read(iprot); return put; case DELETE_SINGLE: TDelete deleteSingle; deleteSingle = new TDelete(); deleteSingle.read(iprot); return deleteSingle; default: throw new java.lang.IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { throw new org.apache.thrift.protocol.TProtocolException("Couldn't find a field with field id " + fieldID); } }
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.put = new TPut(); struct.put.read(iprot); struct.setPutIsSet(true); } else {
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.put = new TPut(); struct.put.read(iprot); struct.setPutIsSet(true); } else {
TPut put; put = new TPut(); put.read(iprot); return put; } else {
TPut put; put = new TPut(); put.read(iprot); return put; } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, put_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.table = iprot.readBinary(); struct.setTableIsSet(true); struct.put = new TPut(); struct.put.read(iprot); struct.setPutIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, put_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.table = iprot.readBinary(); struct.setTableIsSet(true); struct.put = new TPut(); struct.put.read(iprot); struct.setPutIsSet(true); } }
_elem149.read(iprot); struct.puts.add(_elem149);
_elem149.read(iprot); struct.puts.add(_elem149);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, putMultiple_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.table = iprot.readBinary(); struct.setTableIsSet(true); { org.apache.thrift.protocol.TList _list153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.puts = new ArrayList<TPut>(_list153.size); TPut _elem154; for (int _i155 = 0; _i155 < _list153.size; ++_i155) { _elem154 = new TPut(); _elem154.read(iprot); struct.puts.add(_elem154); } } struct.setPutsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, putMultiple_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.table = iprot.readBinary(); struct.setTableIsSet(true); { org.apache.thrift.protocol.TList _list153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.puts = new ArrayList<TPut>(_list153.size); TPut _elem154; for (int _i155 = 0; _i155 < _list153.size; ++_i155) { _elem154 = new TPut(); _elem154.read(iprot); struct.puts.add(_elem154); } } struct.setPutsIsSet(true); } }
@Override protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { case PUT: TPut put; put = new TPut(); put.read(iprot); return put; case DELETE_SINGLE: TDelete deleteSingle; deleteSingle = new TDelete(); deleteSingle.read(iprot); return deleteSingle; default: throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { throw new TProtocolException("Couldn't find a field with field id " + fieldID); } }
@Override protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { case PUT: TPut put; put = new TPut(); put.read(iprot); return put; case DELETE_SINGLE: TDelete deleteSingle; deleteSingle = new TDelete(); deleteSingle.read(iprot); return deleteSingle; default: throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { throw new TProtocolException("Couldn't find a field with field id " + fieldID); } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.put = new TPut(); struct.put.read(iprot); struct.setPutIsSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.table = iprot.readBinary(); struct.setTableIsSet(true); struct.row = iprot.readBinary(); struct.setRowIsSet(true); struct.family = iprot.readBinary(); struct.setFamilyIsSet(true); struct.qualifier = iprot.readBinary(); struct.setQualifierIsSet(true); struct.put = new TPut(); struct.put.read(iprot); struct.setPutIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.value = iprot.readBinary(); struct.setValueIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.table = iprot.readBinary(); struct.setTableIsSet(true); struct.row = iprot.readBinary(); struct.setRowIsSet(true); struct.family = iprot.readBinary(); struct.setFamilyIsSet(true); struct.qualifier = iprot.readBinary(); struct.setQualifierIsSet(true); struct.put = new TPut(); struct.put.read(iprot); struct.setPutIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.value = iprot.readBinary(); struct.setValueIsSet(true); } } }