Package org.apache.sis.filter
Class TemporalFilter.Meets<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.Meets<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
"Meets"
filter. Defined by ISO 19108 as:
- self.end = other.begin
-
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
ConstructorsConstructorDescriptionMeets
(Expression<? super T, ?> expression1, Expression<? super T, ?> expression2) Creates a new filter. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Extension to ISO 19108: handle instant as a tiny period.boolean
Extension to ISO 19108: handle instant as a tiny period.boolean
Condition 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
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
-
Meets
Meets(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
Extension to ISO 19108: handle instant as a tiny period.- Overrides:
evaluate
in classTemporalFilter<T>
-
evaluate
Extension to ISO 19108: handle instant as a tiny period.- Overrides:
evaluate
in classTemporalFilter<T>
-
evaluate
Condition defined by ISO 19108:2006 (corrigendum) §5.2.3.5.- Overrides:
evaluate
in classTemporalFilter<T>
-