protected QueryResult execute(Column[] columns, Join join, Constraint constraint, Ordering[] orderings, long offset, long limit) throws RepositoryException {
QueryResult result = isEquiJoinWithUuid(join, constraint) ? executeEquiJoin(
columns, join, constraint, orderings, offset, limit) : super
.execute(columns, join, constraint, orderings, offset, limit);
if (!(result instanceof JahiaSimpleQueryResult)) {
result = new JahiaSimpleQueryResult(result.getColumnNames(), result.getSelectorNames(),
result.getRows());
}
return result;
}