public class QueryIndexHelper extends Object
Constructor and Description |
---|
QueryIndexHelper() |
Modifier and Type | Method and Description |
---|---|
static org.locationtech.jts.geom.Geometry |
clipIndexedBBOXConstraints(org.opengis.feature.simple.SimpleFeatureType featureType,
org.locationtech.jts.geom.Geometry bbox,
Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap)
Clip the provided bounded box with the statistics for the index
|
static TemporalConstraintsSet |
clipIndexedTemporalConstraints(Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap,
TimeDescriptors timeDescriptors,
TemporalConstraintsSet constraintsSet)
Clip the provided constraints using the statistics, if available.
|
static BasicQueryByClass.ConstraintsByClass |
composeConstraints(org.opengis.feature.simple.SimpleFeatureType featureType,
TimeDescriptors timeDescriptors,
Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap,
org.locationtech.jts.geom.Geometry jtsBounds,
TemporalConstraintsSet timeBoundsSet)
Compose a query from the set of constraints.
|
static GeometryUtils.GeoConstraintsWrapper |
composeGeometricConstraints(org.opengis.feature.simple.SimpleFeatureType featureType,
org.locationtech.jts.geom.Geometry jtsBounds)
If composed constraints matched statistics constraints, are empty or null, then return empty
constraint set
|
static BasicQueryByClass.ConstraintsByClass |
composeTimeBoundedConstraints(org.opengis.feature.simple.SimpleFeatureType featureType,
TimeDescriptors timeDescriptors,
TemporalConstraintsSet timeBoundsSet)
If composed constraints matched statistics constraints, are empty or null, then return empty
constraint set.
|
static BasicQueryByClass.ConstraintsByClass |
composeTimeConstraints(org.opengis.feature.simple.SimpleFeatureType featureType,
TimeDescriptors timeDescriptors,
Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap,
TemporalConstraintsSet timeBoundsSet)
Compose a time constraints.
|
static BasicQueryByClass.ConstraintSet |
getBBOXIndexConstraintsFromIndex(org.opengis.feature.simple.SimpleFeatureType featureType,
Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap) |
static BasicQueryByClass.ConstraintSet |
getTimeConstraintsFromIndex(TimeDescriptors timeDescriptors,
Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> stats) |
public static TemporalConstraintsSet clipIndexedTemporalConstraints(Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap, TimeDescriptors timeDescriptors, TemporalConstraintsSet constraintsSet)
public static org.locationtech.jts.geom.Geometry clipIndexedBBOXConstraints(org.opengis.feature.simple.SimpleFeatureType featureType, org.locationtech.jts.geom.Geometry bbox, Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap)
public static BasicQueryByClass.ConstraintSet getTimeConstraintsFromIndex(TimeDescriptors timeDescriptors, Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> stats)
public static BasicQueryByClass.ConstraintSet getBBOXIndexConstraintsFromIndex(org.opengis.feature.simple.SimpleFeatureType featureType, Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap)
public static BasicQueryByClass.ConstraintsByClass composeTimeConstraints(org.opengis.feature.simple.SimpleFeatureType featureType, TimeDescriptors timeDescriptors, Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap, TemporalConstraintsSet timeBoundsSet)
public static BasicQueryByClass.ConstraintsByClass composeTimeBoundedConstraints(org.opengis.feature.simple.SimpleFeatureType featureType, TimeDescriptors timeDescriptors, TemporalConstraintsSet timeBoundsSet)
public static GeometryUtils.GeoConstraintsWrapper composeGeometricConstraints(org.opengis.feature.simple.SimpleFeatureType featureType, org.locationtech.jts.geom.Geometry jtsBounds)
public static BasicQueryByClass.ConstraintsByClass composeConstraints(org.opengis.feature.simple.SimpleFeatureType featureType, TimeDescriptors timeDescriptors, Map<StatisticsId,InternalDataStatistics<org.opengis.feature.simple.SimpleFeature,?,?>> statsMap, org.locationtech.jts.geom.Geometry jtsBounds, TemporalConstraintsSet timeBoundsSet)
Copyright © 2013–2020. All rights reserved.