public QueryResult executeQuery(String statement, String language,
HashMap<String, Value> bindVariableMap, long limit, long offset) throws RepositoryException {
try {
HashMap<String, CoreValue> bindMap = convertMap(bindVariableMap);
Result r = qe.executeQuery(statement, convertLanguage(language), bindMap);
return new QueryResultImpl(r);
} catch (ParseException e) {
throw new InvalidQueryException(e);
}
}