@Test void testVisitComparisonNodeIn() { String selector = "name"; List<String> arguments = asList("jan", "piet"); ComparisonOperator operator = new ComparisonOperator("=in=", true); ComparisonNode node = new ComparisonNode(operator, selector, arguments); Query query = Query.builder().setItem(selector).setOperator(IN).setValue(arguments).build(); assertEquals(query, queryRsqlVisitor.visit(node)); }
@Override public Query visit(AndNode node) { return visit(node, AND); }
QueryRsqlVisitor extends NoArgRSQLVisitorAdapter<Query> { @Override public Query visit(AndNode node) { return visit(node, AND); } }
QueryRsqlVisitor extends NoArgRSQLVisitorAdapter<Query> { @Override public Query visit(AndNode node) { return visit(node, AND); }  }
QueryRsqlVisitor extends NoArgRSQLVisitorAdapter<Query> { @Override public Query visit(AndNode node) { return visit(node, AND); }  @Override Query visit(AndNode node); @Override Query visit(OrNode node); @Override Query visit(ComparisonNode node); }
QueryRsqlVisitor extends NoArgRSQLVisitorAdapter<Query> { @Override public Query visit(AndNode node) { return visit(node, AND); }  @Override Query visit(AndNode node); @Override Query visit(OrNode node); @Override Query visit(ComparisonNode node);  }