public class StartsWith extends NullFalseLeafBinaryFunction
NullFalseLeafBinaryFunction to evaluate filter like 'abc%' or filter like
'abc_'.| 限定符和类型 | 字段和说明 |
|---|---|
static StartsWith |
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 NullFalseLeafBinaryFunctionpublic boolean test(DataType type, long rowCount, Object min, Object max, Long nullCount, Object patternLiteral)
test 在类中 NullFalseLeafBinaryFunctionpublic Optional<LeafFunction> negate()
negate 在类中 LeafFunctionpublic <T> T visit(FunctionVisitor<T> visitor, FieldRef fieldRef, List<Object> literals)
visit 在类中 LeafFunctionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.