try {
fid = Long.parseLong(fidStr);
FileSummary fs = new FileSummary(fe.getAnalyzer(), fid);
DataQuery dq = DataQuery.getInstance();
FSAnalyzer fsa = fe.getAnalyzer();
FileSummaryData fsd = fsa.getFileSummaryData(fid);
DataDescriptor dd = fsd.getDataDescriptor();
if (dq != null) {
queryResults = dq.query(dd, null, projClauseStr, selClauseStr);
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
///
// Multi table query!
///
if (fidStr1 != null) {
try {
fid1 = Long.parseLong(fidStr1);
FileSummary fs1 = new FileSummary(fe.getAnalyzer(), fid1);
fid2 = Long.parseLong(fidStr2);
FileSummary fs2 = new FileSummary(fe.getAnalyzer(), fid2);
DataQuery dq = DataQuery.getInstance();
FSAnalyzer fsa = fe.getAnalyzer();
FileSummaryData fsd1 = fsa.getFileSummaryData(fid1);
DataDescriptor dd1 = fsd1.getDataDescriptor();
FileSummaryData fsd2 = fsa.getFileSummaryData(fid2);
DataDescriptor dd2 = fsd2.getDataDescriptor();
if (dq != null) {
queryResults = dq.query(dd1, dd2, projClauseStr, selClauseStr);
}
} catch (Exception ex) {