LOG.debug("Query result, number of matching objects: " + objList.getNumItems());
return objList;
}
public CmisQueryWalker processQuery(String statement) throws UnsupportedEncodingException, IOException, RecognitionException {
CmisQueryWalker walker = AbstractQueryConditionProcessor.getWalker(statement);
walker.query(queryObj);
String errMsg = walker.getErrorMessageString();
if (null != errMsg) {
throw new RuntimeException("Walking of statement failed with error: \n " + errMsg +
"\n Statement was: " + statement);
}
/*CommonTree walkerTree = (CommonTree) */ walker.getTreeNodeStream().getTreeSource();
return walker;
}