throw new IllegalArgumentException("Unsupported node type "+node.getClass());
}
private Query createSelection(ASTStart node) {
Collection<Object> childs = new ArrayList<Object>(node.jjtGetNumChildren());
OrderBy orderBy = null;
Limit limit = null;
for(int index = 0;index < node.jjtGetNumChildren();index++) {
Node childNode = node.jjtGetChild(index);
if(childNode instanceof ASTOrderBy) {
orderBy = createOrderBy(childNode);