Metadata about the specific elements that a particular implementation supports.
A client application can inspect the filter capabilities metadata and be able
to determine which operators and types a filter expression processor supports.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionDeclaration of which conformance classes a particular implementation supports.default Optional
<ExtendedCapabilities> Advertises any additional operators added to the filter syntax.default Map
<String, ? extends AvailableFunction> Enumerates the functions that may be used in filter expressions.default Optional
<IdCapabilities> Provides a list of element names that represent the resource identifier elements that the service supports.default Optional
<ScalarCapabilities> Advertises which logical, comparison and arithmetic operators the service supports.default Optional
<SpatialCapabilities> Advertises which spatial operators and geometric operands the service supports.default Optional
<TemporalCapabilities> Advertises which temporal operators and temporal operands the service supports.
-
Method Details
-
getConformance
@UML(identifier="conformance", obligation=MANDATORY, specification=ISO_19143) Conformance getConformance()Declaration of which conformance classes a particular implementation supports.- Returns:
- declaration of which conformance classes a particular implementation supports.
-
getIdCapabilities
@UML(identifier="idCapabilities", obligation=OPTIONAL, specification=ISO_19143) default Optional<IdCapabilities> getIdCapabilities()Provides a list of element names that represent the resource identifier elements that the service supports.- Returns:
- capabilities used to convey supported identifier operators.
-
getScalarCapabilities
@UML(identifier="scalarCapabilities", obligation=OPTIONAL, specification=ISO_19143) default Optional<ScalarCapabilities> getScalarCapabilities()Advertises which logical, comparison and arithmetic operators the service supports. If empty, then a client shall assume that the service does not support any logical or comparison operators and does not implement any additional functions.- Returns:
- logical, comparison and arithmetic operators supported.
-
getSpatialCapabilities
@UML(identifier="spatialCapabilities", obligation=OPTIONAL, specification=ISO_19143) default Optional<SpatialCapabilities> getSpatialCapabilities()Advertises which spatial operators and geometric operands the service supports. If empty, a client shall assume that the service does not support any spatial operators.- Returns:
- capabilities used to convey supported spatial operators.
-
getTemporalCapabilities
@UML(identifier="temporalCapabilities", obligation=OPTIONAL, specification=ISO_19143) default Optional<TemporalCapabilities> getTemporalCapabilities()Advertises which temporal operators and temporal operands the service supports. If empty, a client shall assume that the service does not support any temporal operators.- Returns:
- capabilities used to convey supported temporal operators.
-
getFunctions
@UML(identifier="functions", obligation=OPTIONAL, specification=ISO_19143) default Map<String,? extends AvailableFunction> getFunctions()Enumerates the functions that may be used in filter expressions. Keys are function names that can be used in calls toFilterFactory.function(String, Expression[])
. Associated values are descriptions of the functions.Invariants
For each entry, the key should be equal toAvailableFunction.getName().toString()
, optionally with theLocalName
replaced by aScopedName
for string representation purposes.- Returns:
- the functions that may be used in filter expressions.
- See Also:
-
getExtendedCapabilities
@UML(identifier="extendedCapabilities", obligation=OPTIONAL, specification=ISO_19143) default Optional<ExtendedCapabilities> getExtendedCapabilities()Advertises any additional operators added to the filter syntax.- Returns:
- additional operators added to the filter syntax.
-