criteria.where(pathToUse.get(fieldName).as(fieldValueClass).isNotNull()); criteria.distinct(true).select(pathToUse.get(fieldName).as(fieldValueClass));
return getTypedPath(root, part).isNull(); case IS_NOT_NULL: return getTypedPath(root, part).isNotNull(); case NOT_IN: return getTypedPath(root, part).in(provider.next(part, Collection.class).getExpression()).not();
return builder.or(builder.isNull(expression), builder.equal(expression, "")); } else if ("NONULL".equalsIgnoreCase(String.valueOf(matchValue))) { return expression.isNotNull(); } else if ("NOEMPTY".equalsIgnoreCase(String.valueOf(matchValue))) { return builder.and(builder.isNotNull(expression), builder.notEqual(expression, ""));
return getTypedPath(root, part).isNull(); case IS_NOT_NULL: return getTypedPath(root, part).isNotNull(); case NOT_IN: return getTypedPath(root, part).in(provider.next(part, Collection.class).getExpression()).not();
return getTypedPath(root, part).isNull(); case IS_NOT_NULL: return getTypedPath(root, part).isNotNull();
return getTypedPath(root, part).isNull(); case IS_NOT_NULL: return getTypedPath(root, part).isNotNull();
return getTypedPath(root, part).isNull(); case IS_NOT_NULL: return getTypedPath(root, part).isNotNull();