Package org.geotools.stac.client
Enum CQL2Conformance
- Object
-
- Enum<CQL2Conformance>
-
- CQL2Conformance
-
- All Implemented Interfaces:
Serializable
,Comparable<CQL2Conformance>
public enum CQL2Conformance extends Enum<CQL2Conformance>
Conformance clasess for CQL2
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVANCED
ARITHMETIC
BASIC
BASIC_SPATIAL
JSON
PROPERTY_PROPERTY
SPATIAL_OPERATORS
TEMPORAL_OPERATORS
TEXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterCapabilities
getCapabilities()
Returns the capabilities linked to this conformance class, or an empty capabilities set, otherwiseboolean
matches(List<String> conformance)
Checks if this STAC conformance class is a match, ignoring details about the version such as beta/RC/minor version changes (as long as it's a 1.0.x)static CQL2Conformance
valueOf(String name)
Returns the enum constant of this type with the specified name.static CQL2Conformance[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final CQL2Conformance TEXT
-
JSON
public static final CQL2Conformance JSON
-
BASIC
public static final CQL2Conformance BASIC
-
ADVANCED
public static final CQL2Conformance ADVANCED
-
BASIC_SPATIAL
public static final CQL2Conformance BASIC_SPATIAL
-
SPATIAL_OPERATORS
public static final CQL2Conformance SPATIAL_OPERATORS
-
TEMPORAL_OPERATORS
public static final CQL2Conformance TEMPORAL_OPERATORS
-
ARITHMETIC
public static final CQL2Conformance ARITHMETIC
-
PROPERTY_PROPERTY
public static final CQL2Conformance PROPERTY_PROPERTY
-
-
Method Detail
-
values
public static CQL2Conformance[] 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 (CQL2Conformance c : CQL2Conformance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CQL2Conformance 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
-
matches
public boolean matches(List<String> conformance)
Checks if this STAC conformance class is a match, ignoring details about the version such as beta/RC/minor version changes (as long as it's a 1.0.x)- Parameters:
conformance
-
-
getCapabilities
public FilterCapabilities getCapabilities()
Returns the capabilities linked to this conformance class, or an empty capabilities set, otherwise
-
-