public class CompoundPredicate extends Object implements Predicate
Predicate
tree. Its evaluation result depends on the results of its
children.Modifier and Type | Class and Description |
---|---|
static class |
CompoundPredicate.Function
Evaluate the predicate result based on multiple
Predicate s. |
Constructor and Description |
---|
CompoundPredicate(CompoundPredicate.Function function,
List<Predicate> children) |
Modifier and Type | Method and Description |
---|---|
List<Predicate> |
children() |
boolean |
equals(Object o) |
CompoundPredicate.Function |
function() |
int |
hashCode() |
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() |
<T> T |
visit(PredicateVisitor<T> visitor) |
public CompoundPredicate(CompoundPredicate.Function function, List<Predicate> children)
public CompoundPredicate.Function function()
public boolean test(InternalRow row)
Predicate
public boolean test(long rowCount, InternalRow minValues, InternalRow maxValues, InternalArray nullCounts)
Predicate
public <T> T visit(PredicateVisitor<T> visitor)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.