Uses of Interface
org.geotools.api.feature.FeatureVisitor
Packages that use FeatureVisitor
Package
Description
Implementations of FeatureCollection for different purposes.
This package contains the implementation of a ComplexDataStore,
Helper classes for implementing FeatureCollections.
-
Uses of FeatureVisitor in org.geotools.appschema.resolver.data
Methods in org.geotools.appschema.resolver.data with parameters of type FeatureVisitorModifier and TypeMethodDescriptionvoid
SampleDataAccessFeatureCollection.accepts
(FeatureVisitor visitor, ProgressListener progress) -
Uses of FeatureVisitor in org.geotools.data
Methods in org.geotools.data with parameters of type FeatureVisitorModifier and TypeMethodDescriptionstatic 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 FeatureVisitorModifier and TypeMethodDescriptionvoid
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 FeatureVisitorModifier and TypeMethodDescriptionvoid
MappingFeatureCollection.accepts
(FeatureVisitor visitor, ProgressListener progress) -
Uses of FeatureVisitor in org.geotools.data.crs
Methods in org.geotools.data.crs with parameters of type FeatureVisitorModifier and TypeMethodDescriptionvoid
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 FeatureVisitorModifier and TypeMethodDescriptionvoid
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 FeatureVisitorModifier and TypeMethodDescriptionprotected 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 FeatureVisitorModifier and TypeMethodDescriptionprotected 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 FeatureVisitorModifier and TypeMethodDescriptionprotected 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 FeatureVisitorModifier and TypeMethodDescriptionprotected 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 FeatureVisitorModifier and TypeMethodDescriptionvoid
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 FeatureVisitorModifier and TypeMethodDescriptionvoid
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 FeatureVisitorModifier and TypeMethodDescriptionvoid
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 FeatureVisitorModifier and TypeClassDescriptionclass
An abstract class to reduce the amount of work needed when working with FeatureVisitor.Methods in org.geotools.feature.collection with parameters of type FeatureVisitorModifier and TypeMethodDescriptionvoid
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.visitorModifier and TypeInterfaceDescriptioninterface
Extension of FeatureVisitor for visitors that require access to properties of the feature collection being visited.interface
A visitor which performs a calculation on a FeatureCollection.interface
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 FeatureVisitorModifier and TypeClassDescriptionclass
Calculates the Averageclass
Calculates the extents (envelope) of the features it visits.class
Determines the number of features in the collectionclass
Obtains the data needed for a Equal Area operation (classification of features into classes each roughly having the same area).class
Group features by one or several attributes and applies an aggregator visitor to each group.class
Calculates the maximum value of an attribute.class
Calculates the median of an attribute in all features of a collectionclass
Calculates the minimum value of an attribute.class
Finds the nearest value to the provided one in the attribute domain.class
Obtains the data needed for a Quantile operation (classification of features into classes of equal size).class
Determines the standard deviation.class
Calculates the Sum of Areas for geometric fieldsclass
Calculates the Sum of an attribute (of a FeatureVisitor)class
Determines the number of unique features in the collection on the basis of the specified feature attribute.class
Generates a list of unique values from a collectionMethods in org.geotools.feature.visitor that return FeatureVisitor -
Uses of FeatureVisitor in org.geotools.geopkg
Methods in org.geotools.geopkg with parameters of type FeatureVisitorModifier and TypeMethodDescriptionGeoPkgDialect.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 FeatureVisitorModifier and TypeFieldDescriptionprotected HashMap<Class<? extends FeatureVisitor>,
String> JDBCDataStore.aggregateFunctions
Feature visitor to aggregate function nameMethods in org.geotools.jdbc that return types with arguments of type FeatureVisitorModifier and TypeMethodDescriptionMap<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 FeatureVisitorModifier and TypeMethodDescriptionprotected List<Expression>
JDBCDataStore.extractGroupByExpressions
(FeatureVisitor visitor) Helper method that extracts a list of group by attributes from a group by visitor.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.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 FeatureVisitorModifier and TypeMethodDescriptionvoid
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 FeatureVisitorModifier and TypeMethodDescriptionprotected boolean
STACFeatureSource.handleVisitor
(Query query, FeatureVisitor visitor) -
Uses of FeatureVisitor in org.geotools.vectormosaic
Methods in org.geotools.vectormosaic with parameters of type FeatureVisitorModifier and TypeMethodDescriptionprotected boolean
VectorMosaicFeatureSource.handleVisitor
(Query query, FeatureVisitor visitor)