Uses of Interface
org.geotools.api.feature.FeatureVisitor
-
Packages that use FeatureVisitor Package Description org.geotools.appschema.resolver.data org.geotools.data org.geotools.data.collection Implementations of FeatureCollection for different purposes.org.geotools.data.complex This package contains the implementation of a ComplexDataStore,org.geotools.data.crs org.geotools.data.gen org.geotools.data.geojson.store org.geotools.data.memory org.geotools.data.mongodb org.geotools.data.property org.geotools.data.sqlserver org.geotools.data.store org.geotools.feature org.geotools.feature.collection Helper classes for implementing FeatureCollections.org.geotools.feature.visitor org.geotools.geopkg org.geotools.jdbc org.geotools.stac.store org.geotools.vectormosaic -
-
Uses of FeatureVisitor in org.geotools.appschema.resolver.data
Methods in org.geotools.appschema.resolver.data with parameters of type FeatureVisitor Modifier and Type Method Description void
SampleDataAccessFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
-
Uses of FeatureVisitor in org.geotools.data
Methods in org.geotools.data with parameters of type FeatureVisitor Modifier and Type Method Description static void
DataUtilities. visit(FeatureCollection<?,?> collection, FeatureVisitor visitor, ProgressListener progress)
Manually visit each feature usingFeatureCollection.features()
. -
Uses of FeatureVisitor in org.geotools.data.collection
Methods in org.geotools.data.collection with parameters of type FeatureVisitor Modifier and Type Method Description void
SpatialIndexFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener listener)
void
TreeSetFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
-
Uses of FeatureVisitor in org.geotools.data.complex
Methods in org.geotools.data.complex with parameters of type FeatureVisitor Modifier and Type Method Description void
MappingFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
-
Uses of FeatureVisitor in org.geotools.data.crs
Methods in org.geotools.data.crs with parameters of type FeatureVisitor Modifier and Type Method Description void
ForceCoordinateSystemFeatureResults. accepts(FeatureVisitor visitor, ProgressListener progress)
void
ReprojectFeatureResults. accepts(FeatureVisitor visitor, ProgressListener progress)
protected boolean
ForceCoordinateSystemFeatureResults. canDelegate(FeatureVisitor visitor)
protected boolean
ReprojectFeatureResults. canDelegate(FeatureVisitor visitor)
-
Uses of FeatureVisitor in org.geotools.data.gen
Methods in org.geotools.data.gen with parameters of type FeatureVisitor Modifier and Type Method Description void
PreGeneralizedFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
-
Uses of FeatureVisitor in org.geotools.data.geojson.store
Methods in org.geotools.data.geojson.store with parameters of type FeatureVisitor Modifier and Type Method Description protected boolean
GeoJSONFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
-
Uses of FeatureVisitor in org.geotools.data.memory
Methods in org.geotools.data.memory with parameters of type FeatureVisitor Modifier and Type Method Description protected boolean
MemoryFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
protected boolean
MemoryFeatureStore. handleVisitor(Query query, FeatureVisitor visitor)
-
Uses of FeatureVisitor in org.geotools.data.mongodb
Methods in org.geotools.data.mongodb with parameters of type FeatureVisitor Modifier and Type Method Description protected boolean
MongoFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
protected boolean
MongoFeatureStore. handleVisitor(Query query, FeatureVisitor visitor)
-
Uses of FeatureVisitor in org.geotools.data.property
Methods in org.geotools.data.property with parameters of type FeatureVisitor Modifier and Type Method Description protected boolean
PropertyFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
Make handleVisitor package visible allowing PropertyFeatureStore to delegate to this implementation.protected boolean
PropertyFeatureStore. handleVisitor(Query query, FeatureVisitor visitor)
-
Uses of FeatureVisitor in org.geotools.data.sqlserver
Method parameters in org.geotools.data.sqlserver with type arguments of type FeatureVisitor Modifier and Type Method Description void
SQLServerDialect. registerAggregateFunctions(Map<Class<? extends FeatureVisitor>,String> aggregates)
-
Uses of FeatureVisitor in org.geotools.data.store
Methods in org.geotools.data.store with parameters of type FeatureVisitor Modifier and Type Method Description void
ContentFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
void
ContentFeatureSource. accepts(Query query, FeatureVisitor visitor, ProgressListener progress)
Visit the features matching the provided query.void
DataFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
protected boolean
ReprojectingFeatureCollection. canDelegate(FeatureVisitor visitor)
protected boolean
ReTypingFeatureCollection. canDelegate(FeatureVisitor visitor)
protected boolean
ContentFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
Subclass method which allows subclasses to natively handle a visitor.static boolean
ReprojectingFeatureCollection. isGeometryless(FeatureVisitor visitor, SimpleFeatureType schema)
Returns true if the visitor is geometryless, that is, it's not accessing a geometry field in the target schemastatic boolean
ReTypingFeatureCollection. isTypeCompatible(FeatureVisitor visitor, SimpleFeatureType featureType)
Checks if the visitor is accessing only properties available in the specified feature type, or as a special case, if it's a count visitor accessing no properties at all -
Uses of FeatureVisitor in org.geotools.feature
Methods in org.geotools.feature with parameters of type FeatureVisitor Modifier and Type Method Description void
DefaultFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
void
FeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
Visit the contents of a feature collection. -
Uses of FeatureVisitor in org.geotools.feature.collection
Classes in org.geotools.feature.collection that implement FeatureVisitor Modifier and Type Class Description class
AbstractFeatureVisitor
An abstract class to reduce the amount of work needed when working with FeatureVisitor.Methods in org.geotools.feature.collection with parameters of type FeatureVisitor Modifier and Type Method Description void
AbstractFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
void
AdaptorFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
Accepts a visitor, which then visits each feature in the collection.void
BaseFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
void
DecoratingFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
void
DecoratingSimpleFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
void
FilteringSimpleFeatureCollection. accepts(FeatureVisitor visitor, ProgressListener progress)
protected boolean
DecoratingFeatureCollection. canDelegate(FeatureVisitor visitor)
Methods for subclass to override in order to determine if the supplied visitor can be passed to the delegate collection.protected boolean
DecoratingSimpleFeatureCollection. canDelegate(FeatureVisitor visitor)
Methods for subclass to override in order to determine if the supplied visitor can be passed to the delegate collection. -
Uses of FeatureVisitor in org.geotools.feature.visitor
Subinterfaces of FeatureVisitor in org.geotools.feature.visitor Modifier and Type Interface Description interface
FeatureAttributeVisitor
Extension of FeatureVisitor for visitors that require access to properties of the feature collection being visited.interface
FeatureCalc
A visitor which performs a calculation on a FeatureCollection.interface
LimitingVisitor
A visitor that can limit the features that can be visited (for example to implement startOffset, maxFeatures pagination).Classes in org.geotools.feature.visitor that implement FeatureVisitor Modifier and Type Class Description class
AverageVisitor
Calculates the Averageclass
BoundsVisitor
Calculates the extents (envelope) of the features it visits.class
CountVisitor
Determines the number of features in the collectionclass
EqualAreaListVisitor
Obtains the data needed for a Equal Area operation (classification of features into classes each roughly having the same area).class
GroupByVisitor
Group features by one or several attributes and applies an aggregator visitor to each group.class
MaxVisitor
Calculates the maximum value of an attribute.class
MedianVisitor
Calculates the median of an attribute in all features of a collectionclass
MinVisitor
Calculates the minimum value of an attribute.class
NearestVisitor
Finds the nearest value to the provided one in the attribute domain.class
QuantileListVisitor
Obtains the data needed for a Quantile operation (classification of features into classes of equal size).class
StandardDeviationVisitor
Determines the standard deviation.class
SumAreaVisitor
Calculates the Sum of Areas for geometric fieldsclass
SumVisitor
Calculates the Sum of an attribute (of a FeatureVisitor)class
UniqueCountVisitor
Determines the number of unique features in the collection on the basis of the specified feature attribute.class
UniqueVisitor
Generates a list of unique values from a collectionMethods in org.geotools.feature.visitor that return FeatureVisitor Modifier and Type Method Description FeatureVisitor
GroupByVisitor. getAggregateVisitor()
-
Uses of FeatureVisitor in org.geotools.geopkg
Methods in org.geotools.geopkg with parameters of type FeatureVisitor Modifier and Type Method Description Function<Object,Object>
GeoPkgDialect. getAggregateConverter(FeatureVisitor visitor, SimpleFeatureType featureType)
SQLite dates are just strings, they don't get converted to Date in case of aggregation, do it here instead -
Uses of FeatureVisitor in org.geotools.jdbc
Fields in org.geotools.jdbc with type parameters of type FeatureVisitor Modifier and Type Field Description protected HashMap<Class<? extends FeatureVisitor>,String>
JDBCDataStore. aggregateFunctions
Feature visitor to aggregate function nameMethods in org.geotools.jdbc that return types with arguments of type FeatureVisitor Modifier and Type Method Description Map<Class<? extends FeatureVisitor>,String>
JDBCDataStore. getAggregateFunctions()
Returns the supported aggregate functions and the visitors they map to.Methods in org.geotools.jdbc with parameters of type FeatureVisitor Modifier and Type Method Description protected List<Expression>
JDBCDataStore. extractGroupByExpressions(FeatureVisitor visitor)
Helper method that extracts a list of group by attributes from a group by visitor.Function<Object,Object>
SQLDialect. getAggregateConverter(FeatureVisitor visitor, SimpleFeatureType featureType)
Returns a converter used to transform the results of an aggregation, for the given visitor and feature type.protected Object
JDBCDataStore. getAggregateValue(FeatureVisitor visitor, SimpleFeatureType featureType, Query query, Connection cx)
Results the value of an aggregate function over a query.protected Optional<List<Class>>
SQLDialect. getResultTypes(FeatureVisitor visitor, SimpleFeatureType featureType)
Returns the list of aggregation output types for the given visitor and feature type (or an empty Optional if could not determine it)protected boolean
JDBCFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
protected boolean
JDBCFeatureStore. handleVisitor(Query query, FeatureVisitor visitor)
protected boolean
JDBCDataStore. isCountVisitor(FeatureVisitor visitor)
protected boolean
JDBCDataStore. isGroupByVisitor(FeatureVisitor visitor)
Helper method the checks if a feature visitor is a group by visitor,protected String
JDBCDataStore. matchAggregateFunction(FeatureVisitor visitor)
Helper method that will try to match a feature visitor with an aggregate function.Method parameters in org.geotools.jdbc with type arguments of type FeatureVisitor Modifier and Type Method Description void
SQLDialect. registerAggregateFunctions(Map<Class<? extends FeatureVisitor>,String> aggregates)
Registers the set of aggregate functions the dialect is capable of handling. -
Uses of FeatureVisitor in org.geotools.stac.store
Methods in org.geotools.stac.store with parameters of type FeatureVisitor Modifier and Type Method Description protected boolean
STACFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
-
Uses of FeatureVisitor in org.geotools.vectormosaic
Methods in org.geotools.vectormosaic with parameters of type FeatureVisitor Modifier and Type Method Description protected boolean
VectorMosaicFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
-