Interface FeatureVisitor

All Known Subinterfaces:
FeatureAttributeVisitor, FeatureCalc, LimitingVisitor
All Known Implementing Classes:
AbstractFeatureVisitor, AverageVisitor, BoundsVisitor, CountVisitor, EqualAreaListVisitor, GroupByVisitor, MaxVisitor, MedianVisitor, MinVisitor, NearestVisitor, QuantileListVisitor, StandardDeviationVisitor, SumAreaVisitor, SumVisitor, UniqueCountVisitor, UniqueVisitor

public interface FeatureVisitor
FeatureVisitor interface to allow for container optimised traversal.

The iterator construct from the Collections api is well understood and loved, but breaks down for working with large GIS data volumes. By using a visitor we allow the implementor of a Feature Collection to make use of additional resources (such as multiple processors or tiled data) concurrently. This interface is most often used for calculations and data transformations and an implementations may intercept known visitors (such as "bounds" or reprojection) and engage an alternate work flow.

Author:
Cory Horner (Refractions Research, Inc)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visit(Feature feature)
    Visit the provided feature.
  • Method Details

    • visit

      void visit(Feature feature)
      Visit the provided feature.

      Please consult the documentation for the FeatureCollection you are visiting to learn more - the provided feature may be invalid, or read only.