Android 在parse中编写嵌套查询

Android 在parse中编写嵌套查询,android,mysql,parse-platform,Android,Mysql,Parse Platform,我第一次在Android项目中使用parse.com数据库,并参考了。 我有四张桌子 Table 1: EmployerDetails: employerID, employerName etc.. Table 2: JobPostedDetails: JobID, employerID, JobTitle etc.. Table 3: ApplicationStatus: JobID, candidateID, status etc.. Table 4: CandidateDetails: c

我第一次在Android项目中使用parse.com数据库,并参考了。 我有四张桌子

Table 1: EmployerDetails: employerID, employerName etc..
Table 2: JobPostedDetails: JobID, employerID, JobTitle etc..
Table 3: ApplicationStatus: JobID, candidateID, status etc..
Table 4: CandidateDetails: candidateID, candidateName etc..
我想要一份申请不同工作的候选人名单,(将候选人ID加入申请状态和候选人详细信息),由雇主ID:ABC123,雇主名称:“职业咨询”

公共列表getCandidatesAppliedList(字符串employerName){
列表结果=新建ArrayList();
List postedJobs=new ArrayList();
List postedJobIDs=new ArrayList();
ParseQuery employerID=ParseQuery.getQuery(“JobPostedDetails”);
employerID.whereEqualTo(“employerName”,employerName);
试一试{
postedJobs=employerID.find();
对于(int i=0;i
我不知道如何在parse中编写嵌套子查询。关于解析查询,还有其他材料需要学习吗

public List<ParseObject> getCandidatesAppliedList(String employerName) {
        List<ParseObject> result = new ArrayList<ParseObject>();
        List<ParseObject> postedJobs = new ArrayList<ParseObject>();
        List<String> postedJobIDs = new ArrayList<String>();
        ParseQuery employerID = ParseQuery.getQuery("JobPostedDetails");
        employerID.whereEqualTo("employerName", employerName);
        try {
            postedJobs = employerID.find();
            for(int i=0; i< postedJobs.size(); i++) {
...
            }

        } catch (ParseException e) {
            e.printStackTrace();
        }
}