Class TemporalFilter.During<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.During<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
"During" filter. Defined by ISO 19108 as:
- self.begin > other.begin AND self.end < other.end
- Since:
- 1.1
- Version:
- 1.1
-
Nested Class Summary
Nested classes/interfaces inherited from class 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 longFor cross-version compatibility during (de)serialization.Fields inherited from class BinaryFunction
expression1, expression2 -
Constructor Summary
ConstructorsConstructorDescriptionDuring(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCondition defined by ISO 19108:2006 (corrigendum) §5.2.3.5.Identification of this operation.recreate(Expression<? super T, ?>[] effective) Creates a new filter of the same type but different parameters.protected charsymbol()Symbol of this operation.Methods inherited from class TemporalFilter
evaluate, evaluate, testMethods inherited from class BinaryFunction
apply, applyAsDecimal, applyAsDouble, applyAsFraction, applyAsInteger, applyAsLong, getChildren, getExpressions, getParametersMethods inherited from class Node
createName, createType, equals, getGeometryLibrary, hashCode, toGeometryWrapper, toString, unwrap, warningMethods inherited from interface Filter
getExpressionsMethods inherited from interface Optimization.OnFilter
and, negate, optimize, or
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility during (de)serialization.- See Also:
-
-
Constructor Details
-
During
During(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
thisif unsupported.
-
getOperatorType
Identification of this operation.- Returns:
- the nature of this operator.
-
symbol
-
evaluate
Condition defined by ISO 19108:2006 (corrigendum) §5.2.3.5.- Overrides:
evaluatein classTemporalFilter<T>
-