| 构造器和说明 |
|---|
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,
FieldStats[] fieldStats)
Test based on the statistical information to determine whether a hit is possible.
|
boolean |
test(Object[] values)
Test based on the specific input column values.
|
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(Object[] values)
Predicatepublic boolean test(InternalRow row)
Predicatepublic boolean test(long rowCount,
FieldStats[] fieldStats)
Predicatepublic <T> T visit(PredicateVisitor<T> visitor)
Copyright © 2023 The Apache Software Foundation. All rights reserved.