if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.repositoryName = iprot.readString(); struct.setRepositoryNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.repositoryName = iprot.readString(); struct.setRepositoryNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, NamedQuery struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.name = iprot.readString(); struct.setNameIsSet(true); struct.enabled = iprot.readBool(); struct.setEnabledIsSet(true); struct.repositoryName = iprot.readString(); struct.setRepositoryNameIsSet(true); struct.query = new Query(); struct.query.read(iprot); struct.setQueryIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.comment = new Comment(); struct.comment.read(iprot); struct.setCommentIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, NamedQuery struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.name = iprot.readString(); struct.setNameIsSet(true); struct.enabled = iprot.readBool(); struct.setEnabledIsSet(true); struct.repositoryName = iprot.readString(); struct.setRepositoryNameIsSet(true); struct.query = new Query(); struct.query.read(iprot); struct.setQueryIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.comment = new Comment(); struct.comment.read(iprot); struct.setCommentIsSet(true); } } }