Uses of Interface
org.hibernate.query.specification.SimpleProjectionSpecification
Packages that use SimpleProjectionSpecification
Package
Description
Support for SelectionSpecification
and MutationSpecification which
is similar in concept to criteria queries, but focused on ease-of-use and less verbosity.
-
Uses of SimpleProjectionSpecification in org.hibernate.query.specification
Methods in org.hibernate.query.specification that return SimpleProjectionSpecificationModifier and TypeMethodDescriptionstatic <T> SimpleProjectionSpecification<T, Long> SimpleProjectionSpecification.count(SelectionSpecification<T> selectionSpecification) Create a newProjectionSpecificationwhich augments the givenSelectionSpecificationwith acount(*).static <T,X> SimpleProjectionSpecification <T, X> SimpleProjectionSpecification.create(SelectionSpecification<T> selectionSpecification, SingularAttribute<? super T, X> projectedAttribute) Create a newProjectionSpecificationwhich augments the givenSelectionSpecification.static <T,X> SimpleProjectionSpecification <T, X> SimpleProjectionSpecification.create(SelectionSpecification<T> selectionSpecification, Path<T, X> projectedPath) Create a newProjectionSpecificationwhich augments the givenSelectionSpecification.default SimpleProjectionSpecification<T, Long> SelectionSpecification.createCountProjection()Create aSimpleProjectionSpecificationwhich projects the number of results which match the specified restrictions.default SimpleProjectionSpecification<T, Boolean> SelectionSpecification.createExistsProjection()Create aSimpleProjectionSpecificationwhich projects a boolean value indicating whether any results match the specified restrictions.default <X> SimpleProjectionSpecification<T, X> SelectionSpecification.createProjection(SingularAttribute<? super T, X> attribute) Create aSimpleProjectionSpecificationfor the given field.default <X> SimpleProjectionSpecification<T, X> SelectionSpecification.createProjection(Path<T, X> path) Create aSimpleProjectionSpecificationfor the given compound path.static <T> SimpleProjectionSpecification<T, Boolean> SimpleProjectionSpecification.exists(SelectionSpecification<T> selectionSpecification) Create a newProjectionSpecificationwhich augments the givenSelectionSpecificationwith anexists().SimpleProjectionSpecification.validate(CriteriaBuilder builder)