| 构造器和说明 |
|---|
LeafPredicate(LeafFunction function,
DataType type,
int fieldIndex,
String fieldName,
List<Object> literals) |
| 限定符和类型 | 方法和说明 |
|---|---|
LeafPredicate |
copyWithNewIndex(int fieldIndex) |
boolean |
equals(Object o) |
String |
fieldName() |
FieldRef |
fieldRef() |
LeafFunction |
function() |
int |
hashCode() |
int |
index() |
List<Object> |
literals() |
Optional<Predicate> |
negate() |
boolean |
test(InternalRow row)
Test based on the specific input row.
|
boolean |
test(long rowCount,
InternalRow minValues,
InternalRow maxValues,
InternalArray nullCounts)
Test based on the statistical information to determine whether a hit is possible.
|
String |
toString() |
DataType |
type() |
<T> T |
visit(PredicateVisitor<T> visitor) |
public LeafPredicate(LeafFunction function, DataType type, int fieldIndex, String fieldName, List<Object> literals)
public LeafFunction function()
public DataType type()
public int index()
public String fieldName()
public FieldRef fieldRef()
public LeafPredicate copyWithNewIndex(int fieldIndex)
public boolean test(InternalRow row)
Predicatepublic boolean test(long rowCount,
InternalRow minValues,
InternalRow maxValues,
InternalArray nullCounts)
Predicatepublic <T> T visit(PredicateVisitor<T> visitor)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.