Package org.hibernate.spatial
Enum SpatialFunction
- java.lang.Object
-
- java.lang.Enum<SpatialFunction>
-
- org.hibernate.spatial.SpatialFunction
-
- All Implemented Interfaces:
Serializable
,Comparable<SpatialFunction>
@Deprecated public enum SpatialFunction extends Enum<SpatialFunction>
Deprecated.To be replaced byCommonSpatialFunction
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 Summary
Enum Constants Enum Constant Description asbinary
Deprecated.The asBinary function, cfr.astext
Deprecated.The asText function, cfr.boundary
Deprecated.The boundery function, cfr.buffer
Deprecated.The buffer function, cfr.contains
Deprecated.The contains function, cfr.convexhull
Deprecated.The convexHull function, cfr.crosses
Deprecated.The crosses function, cfr.difference
Deprecated.The difference function, cfr.dimension
Deprecated.The dimension function, cfr.disjoint
Deprecated.The disjoint function, cfr.distance
Deprecated.The distance function, cfr.dwithin
Deprecated.the distance within functionenvelope
Deprecated.The envelope function, cfr.equals
Deprecated.The equals function, cfr.extent
Deprecated.the extents functionfilter
Deprecated.The filter functiongeometrytype
Deprecated.The geometryType function, cfr.geomunion
Deprecated.The union function, cfr.intersection
Deprecated.The intersection function, cfr.intersects
Deprecated.The intersects function, cfr.isempty
Deprecated.The isEmpty function, cfr.issimple
Deprecated.The isSimple function, cfr.overlaps
Deprecated.The overlaps function, cfr.relate
Deprecated.The relate function, cfr.srid
Deprecated.The SRID function, cfr.symdifference
Deprecated.The symDifference function, cfr.touches
Deprecated.The touches function, cfr.transform
Deprecated.the transform functionwithin
Deprecated.The within function, cfr.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SpatialFunction
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static SpatialFunction[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 functionThe 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 functionThe 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 functionCorresponds to the Oracle Spatial's "SDO_FILTER" function, or the "&&" operator of PostGIS.
-
-
Method Detail
-
values
public static SpatialFunction[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SpatialFunction c : SpatialFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpatialFunction valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-