@Test public final void testElementCollection1() { String rsql = "tags=='tech'"; List<Company> companys = (List<Company>) companyRepository.findAll(toPredicate(rsql, QCompany.company)); long count = companys.size(); log.info("rsql: {} -> count: {}", rsql, count); assertThat(rsql, count, is(4l)); rsql = "tags=like='ec'"; companys = (List<Company>) companyRepository.findAll(toPredicate(rsql, QCompany.company)); count = companys.size(); log.info("rsql: {} -> count: {}", rsql, count); assertThat(rsql, count, is(4l)); }
public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); }
RSQLQueryDslSupport extends RSQLJPASupport { public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); } }
RSQLQueryDslSupport extends RSQLJPASupport { public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); } RSQLQueryDslSupport();  RSQLQueryDslSupport(Map<String, EntityManager> entityManagerMap); }
RSQLQueryDslSupport extends RSQLJPASupport { public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); } RSQLQueryDslSupport();  RSQLQueryDslSupport(Map<String, EntityManager> entityManagerMap); static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz); static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz, final Map<String, String> propertyPathMapper); }
RSQLQueryDslSupport extends RSQLJPASupport { public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); } RSQLQueryDslSupport();  RSQLQueryDslSupport(Map<String, EntityManager> entityManagerMap); static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz); static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz, final Map<String, String> propertyPathMapper);  }