long time = System.currentTimeMillis();
final QueryResult result = sessionContext.getSessionState().perform(
new SessionOperation<QueryResult>() {
public QueryResult perform(SessionContext context)
throws RepositoryException {
final QueryEngine engine = new QueryEngine(
sessionContext.getSessionImpl(), lqf, variables);
return engine.execute(getColumns(), getSource(),
getConstraint(), getOrderings(), offset, limit);
}
public String toString() {
return "query.execute(" + statement + ")";
}