Enum Class SpatialFunction

java.lang.Object
java.lang.Enum<SpatialFunction>
org.hibernate.spatial.SpatialFunction
All Implemented Interfaces:
Serializable, Comparable<SpatialFunction>, Constable

@Deprecated public enum SpatialFunction extends Enum<SpatialFunction>
Deprecated.
To be replaced by CommonSpatialFunction
Spatial functions that users generally expect in a database.

The javadoc contains references to these specifications.

  • OpenGIS Simple Features Specification for SQL, rev. 1.1 (OGC 99-049)
  • Enum Constant Details

    • dimension

      public static final SpatialFunction dimension
      Deprecated.
      The dimension function, cfr. OGC 99-049, s2.1.1.1
    • geometrytype

      public static final SpatialFunction geometrytype
      Deprecated.
      The geometryType function, cfr. OGC 99-049, s2.1.1.1
    • srid

      public static final SpatialFunction srid
      Deprecated.
      The SRID function, cfr. OGC 99-049, s2.1.1.1
    • envelope

      public static final SpatialFunction envelope
      Deprecated.
      The envelope function, cfr. OGC 99-049, s2.1.1.1
    • astext

      public static final SpatialFunction astext
      Deprecated.
      The asText function, cfr. OGC 99-049, s2.1.1.1
    • asbinary

      public static final SpatialFunction asbinary
      Deprecated.
      The asBinary function, cfr. OGC 99-049, s2.1.1.1
    • isempty

      public static final SpatialFunction isempty
      Deprecated.
      The isEmpty function, cfr. OGC 99-049, s2.1.1.1
    • issimple

      public static final SpatialFunction issimple
      Deprecated.
      The isSimple function, cfr. OGC 99-049, s2.1.1.1
    • boundary

      public static final SpatialFunction boundary
      Deprecated.
      The boundery function, cfr. OGC 99-049, s2.1.1.1
    • equals

      public static final SpatialFunction equals
      Deprecated.
      The equals function, cfr. OGC 99-049, s2.1.1.2
    • disjoint

      public static final SpatialFunction disjoint
      Deprecated.
      The disjoint function, cfr. OGC 99-049, s2.1.1.2
    • intersects

      public static final SpatialFunction intersects
      Deprecated.
      The intersects function, cfr. OGC 99-049, s2.1.1.2
    • touches

      public static final SpatialFunction touches
      Deprecated.
      The touches function, cfr. OGC 99-049, s2.1.1.2
    • crosses

      public static final SpatialFunction crosses
      Deprecated.
      The crosses function, cfr. OGC 99-049, s2.1.1.2
    • within

      public static final SpatialFunction within
      Deprecated.
      The within function, cfr. OGC 99-049, s2.1.1.2
    • contains

      public static final SpatialFunction contains
      Deprecated.
      The contains function, cfr. OGC 99-049, s2.1.1.2
    • overlaps

      public static final SpatialFunction overlaps
      Deprecated.
      The overlaps function, cfr. OGC 99-049, s2.1.1.2
    • relate

      public static final SpatialFunction relate
      Deprecated.
      The relate function, cfr. OGC 99-049, s2.1.1.2
    • distance

      public static final SpatialFunction distance
      Deprecated.
      The distance function, cfr. OGC 99-049, s2.1.1.3
    • buffer

      public static final SpatialFunction buffer
      Deprecated.
      The buffer function, cfr. OGC 99-049, s2.1.1.3
    • convexhull

      public static final SpatialFunction convexhull
      Deprecated.
      The convexHull function, cfr. OGC 99-049, s2.1.1.3
    • intersection

      public static final SpatialFunction intersection
      Deprecated.
      The intersection function, cfr. OGC 99-049, s2.1.1.3
    • geomunion

      public static final SpatialFunction geomunion
      Deprecated.
      The union function, cfr. OGC 99-049, s2.1.1.3
    • difference

      public static final SpatialFunction difference
      Deprecated.
      The difference function, cfr. OGC 99-049, s2.1.1.3
    • symdifference

      public static final SpatialFunction symdifference
      Deprecated.
      The symDifference function, cfr. OGC 99-049, s2.1.1.3
    • dwithin

      public static final SpatialFunction dwithin
      Deprecated.
      the distance within function

      The semantics are those of Postgis function ST_Dwithin (geom1, geom2, distance) : boolean. It returns true if geom1 and geom2 are within the specified distance of one another (in units of the spatial reference system).

    • transform

      public static final SpatialFunction transform
      Deprecated.
      the transform function

      The semantics are those of the Postgis function ST_Transform(geometry, srid) : geometry. It returns new geometry with its coordinates transformed to the spatial reference system referenced by the srid parameter.

    • extent

      public static final SpatialFunction extent
      Deprecated.
      the extents function
    • filter

      public static final SpatialFunction filter
      Deprecated.
      The filter function

      Corresponds to the Oracle Spatial's "SDO_FILTER" function, or the "&&" operator of PostGIS.

  • Method Details

    • values

      public static SpatialFunction[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SpatialFunction valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null