return w.getSelectClause();
}
private HqlSqlWalker analyze(HqlParser parser, Map<?, ?> tokenReplacements, String collectionRole) throws QueryException, RecognitionException {
final HqlSqlWalker w = new HqlSqlWalker( delegate, sessionFactory, parser, tokenReplacements, collectionRole ) {
@Override
public Map getEnabledFilters() {
return filters;
}
};
final AST hqlAst = parser.getAST();
// Transform the tree.
w.statement( hqlAst );
w.getParseErrorHandler().throwQueryException();
return w;
}