Class SpatialProjections


  • public class SpatialProjections
    extends Object
    A factory for spatial projections.
    • Method Detail

      • extent

        public static org.hibernate.criterion.Projection extent​(String propertyName)
        Applies an extent projection to the specified geometry function

        The extent of a set of Geometrys is the union of their bounding boxes.

        Parameters:
        propertyName - The property to use for calculating the extent
        Returns:
        an extent-projection for the specified property.