Package org.hibernate.spatial
Enum CommonSpatialFunction.Type
- java.lang.Object
-
- java.lang.Enum<CommonSpatialFunction.Type>
-
- org.hibernate.spatial.CommonSpatialFunction.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<CommonSpatialFunction.Type>
- Enclosing class:
- CommonSpatialFunction
public static enum CommonSpatialFunction.Type extends Enum<CommonSpatialFunction.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANALYSIS
Geometry, Geometry -> Boolean (or String for st_relate)CONSTRUCTION
Geometry [, OBJECT]* -> GeometryGEOMETRY_INPUT
String or Byte Array -> GeometryGEOMETRY_OUTPUT
Geometry -> String or Byte[]INFORMATION
Geometry[, Object]* -> Scalar typeOVERLAY
Geometry, Geometry, [Geometry]* -> GeometryVALIDATION
Geometry -> Boolean
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommonSpatialFunction.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommonSpatialFunction.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GEOMETRY_OUTPUT
public static final CommonSpatialFunction.Type GEOMETRY_OUTPUT
Geometry -> String or Byte[]
-
GEOMETRY_INPUT
public static final CommonSpatialFunction.Type GEOMETRY_INPUT
String or Byte Array -> Geometry
-
CONSTRUCTION
public static final CommonSpatialFunction.Type CONSTRUCTION
Geometry [, OBJECT]* -> Geometry
-
OVERLAY
public static final CommonSpatialFunction.Type OVERLAY
Geometry, Geometry, [Geometry]* -> Geometry
-
ANALYSIS
public static final CommonSpatialFunction.Type ANALYSIS
Geometry, Geometry -> Boolean (or String for st_relate)
-
VALIDATION
public static final CommonSpatialFunction.Type VALIDATION
Geometry -> Boolean
-
INFORMATION
public static final CommonSpatialFunction.Type INFORMATION
Geometry[, Object]* -> Scalar type
-
-
Method Detail
-
values
public static CommonSpatialFunction.Type[] values()
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 (CommonSpatialFunction.Type c : CommonSpatialFunction.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommonSpatialFunction.Type valueOf(String name)
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
-
-