result = new QueryResultSet(_query.getVersionClause().getTimestamp());
} else {
result = new QueryResultSet();
}
QueryNodeHandler queryHandler = _query.getQueryHandler(result);
// Collect all the entries that potentially match the query condition. For each of the
// candidate entries we then evaluate the query statement and add the results to the
// QueryResultSet.
DatabaseContent content = _database.getMatchingEntries(_query.getConditionListing());