private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { 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.process = new Process(); struct.process.read(iprot); struct.setProcessIsSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Batch struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.process = new Process(); struct.process.read(iprot); struct.setProcessIsSet(true); { org.apache.thrift.protocol.TList _list45 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.spans = new ArrayList<Span>(_list45.size); Span _elem46; for (int _i47 = 0; _i47 < _list45.size; ++_i47) { _elem46 = new Span(); _elem46.read(iprot); struct.spans.add(_elem46); } } struct.setSpansIsSet(true); } }