Interface LimitingVisitor

All Superinterfaces:
FeatureVisitor
All Known Implementing Classes:
UniqueCountVisitor, UniqueVisitor

public interface LimitingVisitor extends FeatureVisitor
A visitor that can limit the features that can be visited (for example to implement startOffset, maxFeatures pagination).
Since:
12.x
Author:
Mauro Bartolomeoli (mauro.bartolomeoli at geo-solutions.it)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns maxFeatures (max # of elements to return)
    int
    Returns startIndex (first element to return)
    boolean
    Checks if the visitor has limits.

    Methods inherited from interface FeatureVisitor

    visit
  • Method Details

    • hasLimits

      boolean hasLimits()
      Checks if the visitor has limits.
      Returns:
      true if the visitor has limits
    • getStartIndex

      int getStartIndex()
      Returns startIndex (first element to return)
    • getMaxFeatures

      int getMaxFeatures()
      Returns maxFeatures (max # of elements to return)