Package org.apache.sis.filter
Class TemporalFilter.AnyInteracts<T>
java.lang.Object
org.apache.sis.internal.filter.Node
org.apache.sis.filter.BinaryFunction<T,Object,Object>
org.apache.sis.filter.TemporalFilter<T>
org.apache.sis.filter.TemporalFilter.AnyInteracts<T>
- Type Parameters:
T
- the type of resources used as inputs.
- All Implemented Interfaces:
Serializable
,Predicate<T>
,Filter<T>
,Optimization.OnFilter<T>
- Enclosing class:
TemporalFilter<T>
The
"AnyInteracts"
filter.
This is a shortcut for NOT (Before OR Meets OR MetBy OR After).-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.filter.TemporalFilter
TemporalFilter.After<T>, TemporalFilter.AnyInteracts<T>, TemporalFilter.Before<T>, TemporalFilter.Begins<T>, TemporalFilter.BegunBy<T>, TemporalFilter.Contains<T>, TemporalFilter.During<T>, TemporalFilter.EndedBy<T>, TemporalFilter.Ends<T>, TemporalFilter.Equals<T>, TemporalFilter.Meets<T>, TemporalFilter.MetBy<T>, TemporalFilter.OverlappedBy<T>, TemporalFilter.Overlaps<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility during (de)serialization.Fields inherited from class org.apache.sis.filter.BinaryFunction
expression1, expression2
-
Constructor Summary
ConstructorsConstructorDescriptionAnyInteracts
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Condition defined by OGC filter specification.Identification of this operation.recreate
(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.Methods inherited from class org.apache.sis.filter.TemporalFilter
evaluate, evaluate, test
Methods inherited from class org.apache.sis.filter.BinaryFunction
apply, applyAsDecimal, applyAsDouble, applyAsFraction, applyAsInteger, applyAsLong, getChildren, getExpressions, getParameters
Methods inherited from class org.apache.sis.internal.filter.Node
createName, createType, equals, 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
Methods inherited from interface org.apache.sis.filter.Optimization.OnFilter
and, negate, optimize, or
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility during (de)serialization.- See Also:
-
-
Constructor Details
-
AnyInteracts
AnyInteracts(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter.
-
-
Method Details
-
recreate
Creates a new filter of the same type but different parameters.- Parameters:
effective
- the expressions to use as a replacement of this filter expressions.- Returns:
- the new filter, or
this
if unsupported.
-
getOperatorType
Identification of this operation.- Returns:
- the nature of this operator.
-
evaluate
Condition defined by OGC filter specification.- Overrides:
evaluate
in classTemporalFilter<T>
-