Interface Filter

    • Field Detail

      • INCLUDE

        static final IncludeFilter INCLUDE
        Placeholder Filter that evaluates to true. Filtering a set with Filter.INCLUDE results in the origional set.
      • EXCLUDE

        static final ExcludeFilter EXCLUDE
        Placeholder Filter that evaluates to false. Filtering a set with Filter.EXCLUDE results in the empty Set.
    • Method Detail

      • evaluate

        boolean evaluate​(Object object)
        Give an object, this method determines if the test(s) represented by this filter object are passed. This ability is used to allow Queries against both Features and and non spatial data (such as Record) and to express constraints on permissable data values.
        Returns:
        true if the test(s) are passed for the provided object
      • accept

        Object accept​(FilterVisitor visitor,
                      Object extraData)
        Accepts a visitor.

        Implementations of all subinterfaces must have with a method whose content is the following:

        return visitor.visit(this, extraData);