@Test public final void testNotBetween() { String rsql = "id=nb=('2', '4')"; List<User> users = (List<User>) userRepository.findAll(toPredicate(rsql, QUser.user)); long count = users.size(); log.info("rsql: {} -> count: {}", rsql, count); assertThat(rsql, count, is(9l)); rsql = "company.id=nb=(2,'5')"; users = (List<User>) userRepository.findAll(toPredicate(rsql, QUser.user)); count = users.size(); log.info("rsql: {} -> count: {}", rsql, count); assertThat(rsql, count, is(2l)); }
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);  }