@Test public void parseDateNode() { Date date = new Date(0); AbstractNode testAST = new DateValueNode(date); ExpressionNodeToHQLConverter.HQLQuery result = parser.parse(testAST); assertEquals(":date_" + DigestUtils.sha256Hex(date.toString()), result.getQuery()); assertEquals(date, result.getQueryParameters().get( "date_" + DigestUtils.sha256Hex(date.toString()))); }
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);  }