public interface SpatialTemporalConstraintsBuilder
Modifier and Type | Method and Description |
---|---|
SpatialTemporalConstraintsBuilder |
addTimeRange(Date startTime,
Date endTime)
add a time range
|
SpatialTemporalConstraintsBuilder |
addTimeRange(org.threeten.extra.Interval timeRange)
add a time range as an interval
|
SpatialTemporalConstraintsBuilder |
bboxConstraints(double minX,
double maxX,
double minY,
double maxY)
Set a bounding box as a spatial constraint
|
QueryConstraints |
build()
build a query constraints that represents the spatiotemporal constraints of this builder
|
SpatialTemporalConstraintsBuilder |
noSpatialConstraints()
clear any spatial constraints
|
SpatialTemporalConstraintsBuilder |
noTemporalConstraints()
clear any temporal constraints
|
SpatialTemporalConstraintsBuilder |
setTimeRanges(org.threeten.extra.Interval[] timeRanges)
set the time ranges to this array of intervals
|
SpatialTemporalConstraintsBuilder |
spatialConstraints(org.locationtech.jts.geom.Geometry geometry)
set a geometry as a spatial constraint
|
SpatialTemporalConstraintsBuilder |
spatialConstraintsCompareOperation(SpatialQueryFilter.CompareOperation spatialCompareOp)
set a relational operation when comparing geometries to be uses with this builder's geometry.
|
SpatialTemporalConstraintsBuilder |
spatialConstraintsCrs(String crsCode)
set a Coordinate Reference System code to use associated with this builder's geometry.
|
SpatialTemporalConstraintsBuilder noSpatialConstraints()
SpatialTemporalConstraintsBuilder bboxConstraints(double minX, double maxX, double minY, double maxY)
minX
- the minimum x valuemaxX
- the maximum x valueminY
- the minimum y valuemaxY
- the maximum y valueSpatialTemporalConstraintsBuilder spatialConstraints(org.locationtech.jts.geom.Geometry geometry)
geometry
- the geometrySpatialTemporalConstraintsBuilder spatialConstraintsCrs(String crsCode)
crsCode
- the CRS codeSpatialTemporalConstraintsBuilder spatialConstraintsCompareOperation(SpatialQueryFilter.CompareOperation spatialCompareOp)
spatialCompareOp
- the compare operationSpatialTemporalConstraintsBuilder noTemporalConstraints()
SpatialTemporalConstraintsBuilder addTimeRange(Date startTime, Date endTime)
startTime
- the start of the range (inclusive)endTime
- the end of the range (exclusive)SpatialTemporalConstraintsBuilder addTimeRange(org.threeten.extra.Interval timeRange)
timeRange
- the time rangeSpatialTemporalConstraintsBuilder setTimeRanges(org.threeten.extra.Interval[] timeRanges)
timeRanges
- the time rangesQueryConstraints build()
Copyright © 2013–2022. All rights reserved.