public class LeafPredicate extends Object implements Predicate
Predicate
tree. Compares a field in the row with literals.Constructor and Description |
---|
LeafPredicate(LeafFunction function,
org.apache.flink.table.types.logical.LogicalType type,
int fieldIndex,
String fieldName,
List<Object> literals) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
fieldName() |
FieldRef |
fieldRef() |
LeafFunction |
function() |
int |
hashCode() |
int |
index() |
List<Object> |
literals() |
Optional<Predicate> |
negate() |
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.
|
org.apache.flink.table.types.logical.LogicalType |
type() |
<T> T |
visit(PredicateVisitor<T> visitor) |
public LeafPredicate(LeafFunction function, org.apache.flink.table.types.logical.LogicalType type, int fieldIndex, String fieldName, List<Object> literals)
public LeafFunction function()
public org.apache.flink.table.types.logical.LogicalType type()
public int index()
public String fieldName()
public FieldRef fieldRef()
public boolean test(Object[] values)
Predicate
public boolean test(long rowCount, FieldStats[] fieldStats)
Predicate
public <T> T visit(PredicateVisitor<T> visitor)
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.