@Test public void parseWithOrderBy() { AbstractNode testAST = new OrderByNode( new EqualsNode( new PropertyValueNode(EventProperty.SPACE), new PropertyValueNode(EventProperty.PAGE) ), new PropertyValueNode(EventProperty.DATE), OrderByNode.Order.ASC ); ExpressionNodeToHQLConverter.HQLQuery result = parser.parse(testAST); assertEquals("event.space = event.page ORDER BY event.date ASC", result.getQuery()); }
public HQLQuery parse(ExpressionNode node) { HQLQuery result = new HQLQuery(); result.query = parseBlock(node, result); return result; }
ExpressionNodeToHQLConverter { public HQLQuery parse(ExpressionNode node) { HQLQuery result = new HQLQuery(); result.query = parseBlock(node, result); return result; } }
ExpressionNodeToHQLConverter { public HQLQuery parse(ExpressionNode node) { HQLQuery result = new HQLQuery(); result.query = parseBlock(node, result); return result; }  }
ExpressionNodeToHQLConverter { public HQLQuery parse(ExpressionNode node) { HQLQuery result = new HQLQuery(); result.query = parseBlock(node, result); return result; }  HQLQuery parse(ExpressionNode node); }
ExpressionNodeToHQLConverter { public HQLQuery parse(ExpressionNode node) { HQLQuery result = new HQLQuery(); result.query = parseBlock(node, result); return result; }  HQLQuery parse(ExpressionNode node);  }