Package org.apache.sis.filter
Class FilterNode<R>
java.lang.Object
org.apache.sis.internal.filter.Node
org.apache.sis.filter.FilterNode<R>
- Type Parameters:
R
- the type of resources (e.g.Feature
) used as inputs.
- All Implemented Interfaces:
Serializable
,Predicate<R>
,Filter<R>
- Direct Known Subclasses:
BinaryGeometryFilter
,ComparisonFilter.Between
,IdentifierFilter
,LikeFilter
,LogicalFilter
,LogicalFilter.Not
Base class of some (not all) nodes that are filters. This base class overrides
Predicate
methods for building other Filter
objects instead of default Java implementations that
Apache SIS cannot recognize.
Note: this class duplicates the method definition in Optimization.OnFilter
.
This duplication exists because not all filter implementations extends this class, and not all
implementations implement the Optimization.OnFilter
interface.
- Since:
- 1.1
- Version:
- 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theAND
logical operation between this filter and the given predicate.negate()
Returns the logical negation of this filter.Returns theOR
logical operation between this filter and the given predicate.Methods inherited from class org.apache.sis.internal.filter.Node
createName, createType, equals, getChildren, getGeometryLibrary, hashCode, symbol, toGeometryWrapper, toString, unwrap, warning
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.sis.filter.Filter
getExpressions, getOperatorType, test
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
FilterNode
FilterNode()Creates a new node.
-
-
Method Details
-
and
Returns theAND
logical operation between this filter and the given predicate. This method duplicates theOptimization.OnFilter.and(Predicate)
method, but is defined because not all subclasses implement theOptimization
inner interface. -
or
Returns theOR
logical operation between this filter and the given predicate. This method duplicates theOptimization.OnFilter.or(Predicate)
method, but is defined because not all subclasses implement theOptimization
inner interface. -
negate
Returns the logical negation of this filter.
-