| Package | Description |
|---|---|
| org.apache.hudi | |
| org.apache.hudi.expression | |
| org.apache.hudi.metadata |
| Modifier and Type | Method and Description |
|---|---|
protected List<BaseHoodieTableFileIndex.PartitionPath> |
BaseHoodieTableFileIndex.listPartitionPaths(List<String> relativePartitionPaths,
Types.RecordType partitionFields,
Expression partitionColumnPredicates) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Predicate
An expression that returns a Boolean value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryExpression
The expression that accept two child expressions.
|
class |
BoundReference |
class |
LeafExpression
Expression that without any child expressions.
|
class |
Literal<T> |
class |
NameReference |
static class |
Predicates.And |
static class |
Predicates.BinaryComparison |
static class |
Predicates.FalseExpression |
static class |
Predicates.In |
static class |
Predicates.IsNotNull |
static class |
Predicates.IsNull |
static class |
Predicates.Not |
static class |
Predicates.Or |
static class |
Predicates.StringContains |
static class |
Predicates.StringStartsWith |
static class |
Predicates.TrueExpression |
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
Predicates.IsNull.child |
protected Expression |
Predicates.IsNotNull.child |
protected Expression |
Predicates.In.value |
| Modifier and Type | Field and Description |
|---|---|
protected List<Expression> |
Predicates.In.validValues |
| Modifier and Type | Method and Description |
|---|---|
Expression |
BindVisitor.alwaysFalse() |
Expression |
BindVisitor.alwaysTrue() |
Expression |
BinaryExpression.getLeft() |
Expression |
BinaryExpression.getRight() |
Expression |
BindVisitor.visitAnd(Predicates.And and) |
Expression |
BindVisitor.visitBoundReference(BoundReference boundReference) |
Expression |
BindVisitor.visitLiteral(Literal literal) |
Expression |
BindVisitor.visitNameReference(NameReference attribute) |
Expression |
PartialBindVisitor.visitNameReference(NameReference attribute)
If the attribute cannot find from the schema, directly return null, visitPredicate
will handle it.
|
Expression |
BindVisitor.visitOr(Predicates.Or or) |
Expression |
BindVisitor.visitPredicate(Predicate predicate) |
Expression |
PartialBindVisitor.visitPredicate(Predicate predicate)
If an expression is null after accept method, which means it cannot be bounded from
schema, we'll directly return
Predicates.TrueExpression. |
| Modifier and Type | Method and Description |
|---|---|
List<Expression> |
BinaryExpression.getChildren() |
List<Expression> |
Predicates.In.getChildren() |
List<Expression> |
Predicates.IsNull.getChildren() |
List<Expression> |
Predicates.IsNotNull.getChildren() |
List<Expression> |
Predicates.Not.getChildren() |
List<Expression> |
LeafExpression.getChildren() |
List<Expression> |
Expression.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
static Predicates.In |
Predicates.in(Expression left,
List<Expression> validExpressions) |
| Constructor and Description |
|---|
And(Expression left,
Expression right) |
BinaryComparison(Expression left,
Expression.Operator operator,
Expression right) |
In(Expression value,
List<Expression> validValues) |
IsNotNull(Expression child) |
IsNull(Expression child) |
Not(Expression child) |
Or(Expression left,
Expression right) |
| Constructor and Description |
|---|
In(Expression value,
List<Expression> validValues) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
FileSystemBackedTableMetadata.getPartitionPathWithPathPrefixUsingFilterExpression(List<String> relativePathPrefixes,
Types.RecordType partitionFields,
Expression expression) |
List<String> |
HoodieBackedTableMetadata.getPartitionPathWithPathPrefixUsingFilterExpression(List<String> relativePathPrefixes,
Types.RecordType partitionFields,
Expression expression) |
List<String> |
HoodieTableMetadata.getPartitionPathWithPathPrefixUsingFilterExpression(List<String> relativePathPrefixes,
Types.RecordType partitionFields,
Expression expression)
Retrieve the paths of partitions under the provided sub-directories,
and try to filter these partitions using the provided
Expression. |
Copyright © 2024 The Apache Software Foundation. All rights reserved.