Class WfsFilterDelegate
java.lang.Object
ddf.catalog.filter.FilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
ddf.catalog.filter.impl.SimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
org.codice.ddf.spatial.ogc.wfs.v2_0_0.catalog.source.WfsFilterDelegate
The purpose of this class is to convert DDF OGC Filters into WFS compatible OGC Filters. This
class will return an "Invalid"(null) filter if a translation could not be made. It will return an
"Empty" filter, meaning no filters are set, only if it is a Content Type filter.
-
Nested Class Summary
Nested classes/interfaces inherited from class ddf.catalog.filter.impl.SimpleFilterDelegate
SimpleFilterDelegate.ComparisonPropertyOperation, SimpleFilterDelegate.FunctionOperation, SimpleFilterDelegate.LogicalPropertyOperation, SimpleFilterDelegate.SpatialPropertyOperation, SimpleFilterDelegate.TemporalPropertyOperation, SimpleFilterDelegate.XPathPropertyOperation -
Field Summary
Fields inherited from class ddf.catalog.filter.FilterDelegate
ESCAPE_CHAR, SINGLE_CHAR, WILDCARD_CHAR -
Constructor Summary
ConstructorsConstructorDescriptionWfsFilterDelegate(FeatureMetacardType featureMetacardType, net.opengis.filter.v_2_0_0.FilterCapabilities filterCapabilities, String srsName, org.codice.ddf.spatial.ogc.wfs.catalog.mapper.MetacardMapper metacardToFeatureMapper, String coordinateOrder) -
Method Summary
Modifier and TypeMethodDescriptionnet.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypeprotected List<net.opengis.filter.v_2_0_0.FilterType> applyTemporalFallbacks(List<net.opengis.filter.v_2_0_0.FilterType> filters) net.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypeSet<org.geotools.api.filter.sort.SortOrder> Map<Wfs20Constants.SPATIAL_OPERATORS, net.opengis.filter.v_2_0_0.SpatialOperatorType> Map<Wfs20Constants.TEMPORAL_OPERATORS, net.opengis.filter.v_2_0_0.TemporalOperatorType> net.opengis.filter.v_2_0_0.FilterTypeintersects(String propertyName, String wkt) protected booleanisAfterFilter(net.opengis.filter.v_2_0_0.FilterType filter) protected booleanisBeforeFilter(net.opengis.filter.v_2_0_0.FilterType filter) protected booleanisDuringFilter(net.opengis.filter.v_2_0_0.FilterType filter) booleanbooleanbooleannet.opengis.filter.v_2_0_0.FilterTypenot(net.opengis.filter.v_2_0_0.FilterType filterToBeNoted) net.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypepropertyIsBetween(String propertyName, Number lowerBoundary, Number upperBoundary) net.opengis.filter.v_2_0_0.FilterTypepropertyIsBetween(String propertyName, String lowerBoundary, String upperBoundary) net.opengis.filter.v_2_0_0.FilterTypepropertyIsBetween(String propertyName, Date lowerBoundary, Date upperBoundary) net.opengis.filter.v_2_0_0.FilterTypepropertyIsEqualTo(String propertyName, boolean literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsEqualTo(String propertyName, double literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsEqualTo(String propertyName, float literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsEqualTo(String propertyName, int literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsEqualTo(String propertyName, long literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsEqualTo(String propertyName, short literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsEqualTo(String propertyName, String literal, boolean isCaseSensitive) net.opengis.filter.v_2_0_0.FilterTypepropertyIsEqualTo(String propertyName, Date date) net.opengis.filter.v_2_0_0.FilterTypepropertyIsGreaterThan(String propertyName, Number literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsGreaterThan(String propertyName, String literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsGreaterThan(String propertyName, Date literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsGreaterThanOrEqualTo(String propertyName, Number literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsGreaterThanOrEqualTo(String propertyName, String literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsGreaterThanOrEqualTo(String propertyName, Date literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsLessThan(String propertyName, Number literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsLessThan(String propertyName, String literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsLessThan(String propertyName, Date literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsLessThanOrEqualTo(String propertyName, Number literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsLessThanOrEqualTo(String propertyName, String literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsLessThanOrEqualTo(String propertyName, Date literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsLike(String propertyName, String literal, boolean isCaseSensitive) net.opengis.filter.v_2_0_0.FilterTypepropertyIsNotEqualTo(String propertyName, boolean literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsNotEqualTo(String propertyName, Number literal) net.opengis.filter.v_2_0_0.FilterTypepropertyIsNotEqualTo(String propertyName, String literal, boolean isCaseSensitive) net.opengis.filter.v_2_0_0.FilterTypepropertyIsNotEqualTo(String propertyName, Date literal) net.opengis.filter.v_2_0_0.FilterTypevoidsetSpatialOps(net.opengis.filter.v_2_0_0.SpatialOperatorsType spatialOperators) voidsetTemporalOps(net.opengis.filter.v_2_0_0.TemporalOperatorsType temporalOperators) net.opengis.filter.v_2_0_0.FilterTypenet.opengis.filter.v_2_0_0.FilterTypeMethods inherited from class ddf.catalog.filter.impl.SimpleFilterDelegate
begins, comparisonOperation, defaultOperation, exclude, include, logicalOperation, nearestNeighbor, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsFuzzy, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNull, spatialOperation, temporalOperation, xpathExists, xpathIsFuzzy, xpathIsLike, xpathOperation
-
Constructor Details
-
WfsFilterDelegate
public WfsFilterDelegate(FeatureMetacardType featureMetacardType, net.opengis.filter.v_2_0_0.FilterCapabilities filterCapabilities, String srsName, org.codice.ddf.spatial.ogc.wfs.catalog.mapper.MetacardMapper metacardToFeatureMapper, String coordinateOrder)
-
-
Method Details
-
and
public net.opengis.filter.v_2_0_0.FilterType and(List<net.opengis.filter.v_2_0_0.FilterType> filtersToBeAnded) - Overrides:
andin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
or
public net.opengis.filter.v_2_0_0.FilterType or(List<net.opengis.filter.v_2_0_0.FilterType> filtersToBeOred) - Overrides:
orin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
not
public net.opengis.filter.v_2_0_0.FilterType not(net.opengis.filter.v_2_0_0.FilterType filterToBeNoted) - Overrides:
notin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
applyTemporalFallbacks
-
propertyIsEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsEqualTo(String propertyName, String literal, boolean isCaseSensitive) - Overrides:
propertyIsEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsEqualTo
- Overrides:
propertyIsEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsEqualTo
- Overrides:
propertyIsEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsEqualTo
- Overrides:
propertyIsEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsEqualTo
- Overrides:
propertyIsEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsEqualTo
- Overrides:
propertyIsEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsEqualTo
- Overrides:
propertyIsEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsEqualTo(String propertyName, boolean literal) - Overrides:
propertyIsEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsLike
public net.opengis.filter.v_2_0_0.FilterType propertyIsLike(String propertyName, String literal, boolean isCaseSensitive) - Overrides:
propertyIsLikein classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsNotEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsNotEqualTo(String propertyName, String literal, boolean isCaseSensitive) - Overrides:
propertyIsNotEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsNotEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsNotEqualTo(String propertyName, Date literal) - Overrides:
propertyIsNotEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsNotEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsNotEqualTo(String propertyName, Number literal) - Overrides:
propertyIsNotEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsNotEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsNotEqualTo(String propertyName, boolean literal) - Overrides:
propertyIsNotEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsGreaterThan
public net.opengis.filter.v_2_0_0.FilterType propertyIsGreaterThan(String propertyName, String literal) - Overrides:
propertyIsGreaterThanin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsGreaterThan
public net.opengis.filter.v_2_0_0.FilterType propertyIsGreaterThan(String propertyName, Date literal) - Overrides:
propertyIsGreaterThanin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsGreaterThan
public net.opengis.filter.v_2_0_0.FilterType propertyIsGreaterThan(String propertyName, Number literal) - Overrides:
propertyIsGreaterThanin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsGreaterThanOrEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsGreaterThanOrEqualTo(String propertyName, String literal) - Overrides:
propertyIsGreaterThanOrEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsGreaterThanOrEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsGreaterThanOrEqualTo(String propertyName, Date literal) - Overrides:
propertyIsGreaterThanOrEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsGreaterThanOrEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsGreaterThanOrEqualTo(String propertyName, Number literal) - Overrides:
propertyIsGreaterThanOrEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsLessThan
public net.opengis.filter.v_2_0_0.FilterType propertyIsLessThan(String propertyName, String literal) - Overrides:
propertyIsLessThanin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsLessThan
- Overrides:
propertyIsLessThanin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsLessThan
public net.opengis.filter.v_2_0_0.FilterType propertyIsLessThan(String propertyName, Number literal) - Overrides:
propertyIsLessThanin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsLessThanOrEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsLessThanOrEqualTo(String propertyName, String literal) - Overrides:
propertyIsLessThanOrEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsLessThanOrEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsLessThanOrEqualTo(String propertyName, Date literal) - Overrides:
propertyIsLessThanOrEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsLessThanOrEqualTo
public net.opengis.filter.v_2_0_0.FilterType propertyIsLessThanOrEqualTo(String propertyName, Number literal) - Overrides:
propertyIsLessThanOrEqualToin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsBetween
public net.opengis.filter.v_2_0_0.FilterType propertyIsBetween(String propertyName, String lowerBoundary, String upperBoundary) - Overrides:
propertyIsBetweenin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsBetween
public net.opengis.filter.v_2_0_0.FilterType propertyIsBetween(String propertyName, Date lowerBoundary, Date upperBoundary) - Overrides:
propertyIsBetweenin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
during
public net.opengis.filter.v_2_0_0.FilterType during(String propertyName, Date startDate, Date endDate) - Overrides:
duringin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
relative
- Overrides:
relativein classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
after
- Overrides:
afterin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
before
- Overrides:
beforein classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
propertyIsBetween
public net.opengis.filter.v_2_0_0.FilterType propertyIsBetween(String propertyName, Number lowerBoundary, Number upperBoundary) - Overrides:
propertyIsBetweenin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
isAfterFilter
protected boolean isAfterFilter(net.opengis.filter.v_2_0_0.FilterType filter) -
isBeforeFilter
protected boolean isBeforeFilter(net.opengis.filter.v_2_0_0.FilterType filter) -
isDuringFilter
protected boolean isDuringFilter(net.opengis.filter.v_2_0_0.FilterType filter) -
beyond
public net.opengis.filter.v_2_0_0.FilterType beyond(String propertyName, String wkt, double distance) - Overrides:
beyondin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
contains
- Overrides:
containsin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
crosses
- Overrides:
crossesin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
disjoint
- Overrides:
disjointin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
dwithin
public net.opengis.filter.v_2_0_0.FilterType dwithin(String propertyName, String wkt, double distance) - Overrides:
dwithinin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
intersects
- Overrides:
intersectsin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
overlaps
- Overrides:
overlapsin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
touches
- Overrides:
touchesin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
within
- Overrides:
withinin classSimpleFilterDelegate<net.opengis.filter.v_2_0_0.FilterType>
-
isLogicalOps
public boolean isLogicalOps() -
getComparisonOps
-
getSpatialOps
public Map<Wfs20Constants.SPATIAL_OPERATORS,net.opengis.filter.v_2_0_0.SpatialOperatorType> getSpatialOps() -
setSpatialOps
public void setSpatialOps(net.opengis.filter.v_2_0_0.SpatialOperatorsType spatialOperators) -
getGeometryOperands
-
getTemporalOps
public Map<Wfs20Constants.TEMPORAL_OPERATORS,net.opengis.filter.v_2_0_0.TemporalOperatorType> getTemporalOps() -
setTemporalOps
public void setTemporalOps(net.opengis.filter.v_2_0_0.TemporalOperatorsType temporalOperators) -
getTemporalOperands
-
isSortingSupported
public boolean isSortingSupported() -
getAllowedSortOrders
-
getSrsName
-
isEpsg4326
public boolean isEpsg4326()
-