Package org.apache.sis.filter
Class TemporalFilter.MetBy<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.MetBy<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
"MetBy" filter. Defined by ISO 19108 as:
- self.begin = other.end
-
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 longFor cross-version compatibility during (de)serialization.Fields inherited from class org.apache.sis.filter.BinaryFunction
expression1, expression2 -
Constructor Summary
ConstructorsConstructorDescriptionMetBy(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter. -
Method Summary
Modifier and TypeMethodDescriptionbooleanExtension to ISO 19108: handle instant as a tiny period.booleanExtension to ISO 19108: handle instant as a tiny period.booleanCondition 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.Methods inherited from class org.apache.sis.filter.TemporalFilter
testMethods inherited from class org.apache.sis.filter.BinaryFunction
apply, applyAsDecimal, applyAsDouble, applyAsFraction, applyAsInteger, applyAsLong, getChildren, getExpressions, getParametersMethods inherited from class org.apache.sis.internal.filter.Node
createName, createType, equals, getGeometryLibrary, hashCode, symbol, toGeometryWrapper, toString, unwrap, warningMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sis.filter.Filter
getExpressionsMethods 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
-
MetBy
MetBy(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.
-
evaluate
Extension to ISO 19108: handle instant as a tiny period.- Overrides:
evaluatein classTemporalFilter<T>
-
evaluate
Extension to ISO 19108: handle instant as a tiny period.- Overrides:
evaluatein classTemporalFilter<T>
-
evaluate
Condition defined by ISO 19108:2006 (corrigendum) §5.2.3.5.- Overrides:
evaluatein classTemporalFilter<T>
-