public class IsNotNull extends LeafUnaryFunction
NullFalseLeafBinaryFunction
to eval is not null.Modifier and Type | Method and Description |
---|---|
Optional<LeafFunction> |
negate() |
boolean |
test(DataType type,
long rowCount,
Object min,
Object max,
Long nullCount) |
boolean |
test(DataType type,
Object field) |
<T> T |
visit(FunctionVisitor<T> visitor,
FieldRef fieldRef,
List<Object> literals) |
test, test
equals, hashCode, toString
public static final IsNotNull INSTANCE
public boolean test(DataType type, Object field)
test
in class LeafUnaryFunction
public boolean test(DataType type, long rowCount, Object min, Object max, Long nullCount)
test
in class LeafUnaryFunction
public Optional<LeafFunction> negate()
negate
in class LeafFunction
public <T> T visit(FunctionVisitor<T> visitor, FieldRef fieldRef, List<Object> literals)
visit
in class LeafFunction
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.