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:
    FeatureVisitor
    • Method Detail

      • 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)