Uses of Interface
org.hibernate.query.range.Range

Packages that use Range
Package
Description
The Range framework.
The Restriction framework.
  • Uses of Range in org.hibernate.query.range

    Methods in org.hibernate.query.range that return Range
    Modifier and Type
    Method
    Description
    static <U extends Comparable<U>>
    Range<U>
    Range.closed(U lowerBound, U upperBound)
    A closed range containing all values greater than or equal to the given lower bound, and less than or equal to the given upper bound.
    static Range<String>
    Range.containing(String substring)
    A range containing all strings which contain the given substring, with case-sensitivity.
    static Range<String>
    Range.containing(String substring, boolean caseSensitive)
    A range containing all strings which contain the given substring, with case-sensitivity specified explicitly.
    static <U> Range<U>
    Range.empty(Class<U> type)
    An empty range containing no values.
    static <U> Range<U>
    Range.full(Class<U> type)
    A complete range containing all values of the given type.
    static <U extends Comparable<U>>
    Range<U>
    Range.greaterThan(U bound)
    A range containing all values strictly greater than the given lower bound.
    static <U extends Comparable<U>>
    Range<U>
    Range.greaterThanOrEqualTo(U bound)
    A range containing all values greater than or equal to the given lower bound.
    static <U extends Comparable<U>>
    Range<U>
    Range.lessThan(U bound)
    A range containing all values strictly less than the given upper bound.
    static <U extends Comparable<U>>
    Range<U>
    Range.lessThanOrEqualTo(U bound)
    A range containing all values less than or equal to the given upper bound.
    static <U> Range<U>
    Range.notNull(Class<U> type)
    A range containing all allowed values of the given type except null.
    static <U extends Comparable<U>>
    Range<U>
    Range.open(U lowerBound, U upperBound)
    An open range containing all values strictly greater than the given lower bound, and strictly less than the given upper bound.
    static Range<String>
    Range.pattern(String pattern)
    A range containing all strings which match the given pattern, with case-sensitivity.
    static Range<String>
    Range.pattern(String pattern, boolean caseSensitive)
    A range containing all strings which match the given pattern, with case-sensitivity specified explicitly.
    static Range<String>
    Range.pattern(String pattern, boolean caseSensitive, char charWildcard, char stringWildcard)
    A range containing all strings which match the given pattern, with case-sensitivity specified explicitly.
    static Range<String>
    Range.prefix(String prefix)
    A range containing all strings which begin with the given prefix, with case-sensitivity.
    static Range<String>
    Range.prefix(String prefix, boolean caseSensitive)
    A range containing all strings which begin with the given prefix, with case-sensitivity specified explicitly.
    static Range<String>
    A range containing all strings which are equal to the given string, ignoring case.
    static <U> Range<U>
    Range.singleValue(U value)
    A range containing a single value.
    static Range<String>
    Range.suffix(String suffix)
    A range containing all strings which end with the given suffix, with case-sensitivity.
    static Range<String>
    Range.suffix(String suffix, boolean caseSensitive)
    A range containing all strings which end with the given suffix, with case-sensitivity specified explicitly.
    static <U> Range<U>
    Range.valueList(List<U> values)
    A range containing all values belonging to the given list.
  • Uses of Range in org.hibernate.query.restriction

    Methods in org.hibernate.query.restriction with parameters of type Range
    Modifier and Type
    Method
    Description
    default Restriction<X>
    Path.restrict(Range<? super U> range)
     
    static <T, U> Restriction<T>
    Restriction.restrict(SingularAttribute<T,U> attribute, Range<U> range)
    Restrict the allowed values of the given attribute to the given range.
    static <T> Restriction<T>
    Restriction.restrict(Class<T> type, String attributeName, Range<?> range)
    Restrict the allowed values of the named attribute of the given entity class to the given range.