Interface HibernateCriteriaBuilder

  • All Superinterfaces:
    CriteriaBuilder

    public interface HibernateCriteriaBuilder
    extends CriteriaBuilder
    Hibernate extensions to the JPA CriteriaBuilder. Currently there are no extensions; these are coming in 6.0
    • Method Detail

      • mapSize

        <M extends java.util.Map<?,​?>> Expression<java.lang.Integer> mapSize​(Expression<M> mapExpression)
        Create an expression that tests the size of a map.

        NOTE : Due to type-erasure we cannot name this the same as CriteriaBuilder.size(javax.persistence.criteria.Expression<C>)

        Parameters:
        mapExpression - The expression resolving to a Map for which we want to know the size
        Returns:
        size expression
      • mapSize

        <M extends java.util.Map<?,​?>> Expression<java.lang.Integer> mapSize​(M map)
        Create an expression that tests the size of a map.
        Parameters:
        map - The Map for which we want to know the size
        Returns:
        size expression