Package org.apache.sis.filter
Class UnaryFunction.IsNull<R>
java.lang.Object
org.apache.sis.internal.filter.Node
org.apache.sis.filter.UnaryFunction<R,Object>
org.apache.sis.filter.UnaryFunction.IsNull<R>
- Type Parameters:
R- the type of resources used as inputs.
- All Implemented Interfaces:
Serializable,Predicate<R>,Filter<R>,Optimization.OnFilter<R>
- Enclosing class:
- UnaryFunction<R,
V>
static final class UnaryFunction.IsNull<R>
extends UnaryFunction<R,Object>
implements Filter<R>, Optimization.OnFilter<R>
Filter operator that checks if an expression's value is
null. A null
is equivalent to no value present. The value 0 is a valid value and is not considered
null.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.filter.UnaryFunction
UnaryFunction.IsNil<R>, UnaryFunction.IsNull<R> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longFor cross-version compatibility.Fields inherited from class org.apache.sis.filter.UnaryFunction
expression -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the nature of the operator.recreate(Expression<? super R, ?>[] effective) Creates a new filter of the same type but different parameters.protected charsymbol()Identification of the operation.booleanEvaluate this filter on the given object.Methods inherited from class org.apache.sis.filter.UnaryFunction
getChildren, getExpressions, getParametersMethods inherited from class org.apache.sis.internal.filter.Node
createName, createType, equals, getGeometryLibrary, hashCode, 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.- See Also:
-
-
Constructor Details
-
IsNull
IsNull(Expression<? super R, ?> expression) Creates a new operator.
-
-
Method Details
-
getOperatorType
Description copied from interface:FilterReturns the nature of the operator.- Specified by:
getOperatorTypein interfaceFilter<R>- Returns:
- the nature of this operator.
-
recreate
Creates a new filter of the same type but different parameters.- Specified by:
recreatein interfaceOptimization.OnFilter<R>- Parameters:
effective- the expressions to use as a replacement of this filter expressions.- Returns:
- the new filter, or
thisif unsupported.
-
symbol
protected char symbol()Identification of the operation. -
test
Evaluate this filter on the given object.
-