Package ca.spatial.table
Enum Class SpatialOperator
- All Implemented Interfaces:
Serializable
,Comparable<SpatialOperator>
,Constable
This enumeration defines the types of spatial operations that
are available for the spatial selection methods such as
GeoRelationalStore.selectRecords(ca.spatial.table.Extent2D, boolean)
or
GeoRelationalStore.selectByLocation(java.lang.String, ca.spatial.table.GeoRelationalStore, java.lang.String, double, int)
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTest that a feature intersects with the selection featureTest that a feature is contained within the selection feature -
Method Summary
Modifier and TypeMethodDescriptionstatic SpatialOperator
Test that the select string matches one of the defined operatorsstatic SpatialOperator
Returns the enum constant of this class with the specified name.static SpatialOperator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INTERSECTS
Test that a feature intersects with the selection feature -
WITHIN
Test that a feature is contained within the selection feature
-
-
Method Details
-
values
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
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 nameNullPointerException
- if the argument is null
-
select
Test that the select string matches one of the defined operators
-