public class StartsWith extends NullFalseLeafBinaryFunction
NullFalseLeafBinaryFunction to evaluate filter like 'abc%' or filter like
'abc_'.| Modifier and Type | Field and Description |
|---|---|
static StartsWith |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Optional<LeafFunction> |
negate() |
boolean |
test(DataType type,
long rowCount,
Object min,
Object max,
Long nullCount,
Object patternLiteral) |
boolean |
test(DataType type,
Object field,
Object patternLiteral) |
<T> T |
visit(FunctionVisitor<T> visitor,
FieldRef fieldRef,
List<Object> literals) |
test, testequals, hashCode, toStringpublic static final StartsWith INSTANCE
public boolean test(DataType type, Object field, Object patternLiteral)
test in class NullFalseLeafBinaryFunctionpublic boolean test(DataType type, long rowCount, Object min, Object max, Long nullCount, Object patternLiteral)
test in class NullFalseLeafBinaryFunctionpublic Optional<LeafFunction> negate()
negate in class LeafFunctionpublic <T> T visit(FunctionVisitor<T> visitor, FieldRef fieldRef, List<Object> literals)
visit in class LeafFunctionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.