Package org.geotools.api.filter.identity
Interface ResourceId
- All Superinterfaces:
FeatureId,Identifier
- All Known Implementing Classes:
ResourceIdImpl
Resource identifier as per FES 2.0.
Please note this is a query object for use with the Filter Id filter as shown:
Filter filter = filterFactory.id(
ff.featureId("CITY.123"),
ff.resourceId("CITY.123",Version.Action.PREVIOUS) );
In cases where a plain FetureId is used for lookup it is understood to refer to Version.Action.LAST.
If an implementation that references this International Standard does not support versioning, any value specified
for the attributes previousRid, version, startTime, and endTime shall be ignored and the predicate shall always select the single
version that is available.
-
Field Summary
Fields inherited from interface FeatureId
VERSION_SEPARATOR -
Method Summary
Modifier and TypeMethodDescriptionUsed to select versions of a resource between start and end time.Used to select versions of a resource between start and end time.Used to navigate versions of a resource.Methods inherited from interface FeatureId
equalsExact, equalsFID, getFeatureVersion, getID, getPreviousRid, getRid, matchesMethods inherited from interface Identifier
equals, hashCode, toString
-
Method Details
-
getVersion
Version getVersion()Used to navigate versions of a resource.- Returns:
- Version based resource query; non
nullbut possiblyemptyif used a date range query or asked for a specific feature id + version id
-
getStartTime
Date getStartTime()Used to select versions of a resource between start and end time.- Returns:
- start time for a time based query; or
nullif using version or an end time was provided but the start time is unconstrained TODO: consider using an org.geotools.util.Rangeinstead of both start and end time?
-
getEndTime
Date getEndTime()Used to select versions of a resource between start and end time.- Returns:
- end time for a time based query; or
nullif using version or an start time was provided but the end time is unconstrained TODO: consider using an org.geotools.util.Rangeinstead of both start and end time?
-