Class SpatialProjections


  • public class SpatialProjections
    extends java.lang.Object
    A factory for spatial projections.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.hibernate.criterion.Projection extent​(java.lang.String propertyName)
      Applies an extent projection to the specified geometry function
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • extent

        public static org.hibernate.criterion.Projection extent​(java.lang.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.