| 程序包 | 说明 |
|---|---|
| org.apache.paimon.format | |
| org.apache.paimon.lineage | |
| org.apache.paimon.predicate | |
| org.apache.paimon.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract FormatReaderFactory |
FileFormat.createReaderFactory(RowType type,
int[][] projection,
List<Predicate> filters)
Create a
FormatReaderFactory from the type, with projection pushed down. |
| 限定符和类型 | 方法和说明 |
|---|---|
Iterator<DataLineageEntity> |
LineageMeta.sinkDataLineages(Predicate predicate)
Get sink data and job lineages.
|
Iterator<TableLineageEntity> |
LineageMeta.sinkTableLineages(Predicate predicate)
Get sink table and job lineages.
|
Iterator<DataLineageEntity> |
LineageMeta.sourceDataLineages(Predicate predicate)
Get source data and job lineages.
|
Iterator<TableLineageEntity> |
LineageMeta.sourceTableLineages(Predicate predicate)
Get source table and job lineages.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CompoundPredicate
Non-leaf node in a
Predicate tree. |
class |
LeafPredicate
Leaf node of a
Predicate tree. |
| 限定符和类型 | 方法和说明 |
|---|---|
static Predicate |
PredicateBuilder.and(List<Predicate> predicates) |
static Predicate |
PredicateBuilder.and(Predicate... predicates) |
Predicate |
PredicateBuilder.between(int idx,
Object includedLowerBound,
Object includedUpperBound) |
Predicate |
PredicateBuilder.equal(int idx,
Object literal) |
static Predicate |
PredicateBuilder.equalPartition(BinaryRow partition,
RowType partitionType) |
Predicate |
PredicateBuilder.greaterOrEqual(int idx,
Object literal) |
Predicate |
PredicateBuilder.greaterThan(int idx,
Object literal) |
Predicate |
PredicateBuilder.in(int idx,
List<Object> literals) |
Predicate |
PredicateBuilder.isNotNull(int idx) |
Predicate |
PredicateBuilder.isNull(int idx) |
Predicate |
PredicateBuilder.leaf(LeafUnaryFunction function,
int idx) |
Predicate |
PredicateBuilder.leaf(NullFalseLeafBinaryFunction function,
int idx,
Object literal) |
Predicate |
PredicateBuilder.lessOrEqual(int idx,
Object literal) |
Predicate |
PredicateBuilder.lessThan(int idx,
Object literal) |
Predicate |
PredicateBuilder.notEqual(int idx,
Object literal) |
Predicate |
PredicateBuilder.notIn(int idx,
List<Object> literals) |
static Predicate |
PredicateBuilder.or(List<Predicate> predicates) |
static Predicate |
PredicateBuilder.or(Predicate... predicates) |
static Predicate |
PredicateBuilder.partition(Map<String,String> map,
RowType rowType) |
Predicate |
PredicateBuilder.startsWith(int idx,
Object patternLiteral) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Predicate> |
CompoundPredicate.children() |
Optional<Predicate> |
LeafPredicate.negate() |
Optional<Predicate> |
CompoundPredicate.negate() |
Optional<Predicate> |
Predicate.negate() |
Optional<Predicate> |
Or.negate(List<Predicate> children) |
abstract Optional<Predicate> |
CompoundPredicate.Function.negate(List<Predicate> children) |
Optional<Predicate> |
And.negate(List<Predicate> children) |
static List<Predicate> |
PredicateBuilder.pickTransformFieldMapping(List<Predicate> predicates,
int[] fieldIdxMapping) |
static List<Predicate> |
PredicateBuilder.pickTransformFieldMapping(List<Predicate> predicates,
List<String> inputFields,
List<String> pickedFields) |
static List<Predicate> |
PredicateBuilder.splitAnd(Predicate predicate) |
static List<Predicate> |
PredicateBuilder.splitOr(Predicate predicate) |
static Optional<Predicate> |
PredicateBuilder.transformFieldMapping(Predicate predicate,
int[] fieldIdxMapping) |
default Optional<Predicate> |
PredicateReplaceVisitor.visit(CompoundPredicate predicate) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Predicate |
PredicateBuilder.and(Predicate... predicates) |
static boolean |
PredicateBuilder.containsFields(Predicate predicate,
Set<String> fields) |
static Predicate |
PredicateBuilder.or(Predicate... predicates) |
static List<Predicate> |
PredicateBuilder.splitAnd(Predicate predicate) |
static List<Predicate> |
PredicateBuilder.splitOr(Predicate predicate) |
static Optional<Predicate> |
PredicateBuilder.transformFieldMapping(Predicate predicate,
int[] fieldIdxMapping) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Predicate |
PredicateBuilder.and(List<Predicate> predicates) |
Optional<Predicate> |
Or.negate(List<Predicate> children) |
abstract Optional<Predicate> |
CompoundPredicate.Function.negate(List<Predicate> children) |
Optional<Predicate> |
And.negate(List<Predicate> children) |
static Predicate |
PredicateBuilder.or(List<Predicate> predicates) |
static List<Predicate> |
PredicateBuilder.pickTransformFieldMapping(List<Predicate> predicates,
int[] fieldIdxMapping) |
static List<Predicate> |
PredicateBuilder.pickTransformFieldMapping(List<Predicate> predicates,
List<String> inputFields,
List<String> pickedFields) |
boolean |
Or.test(long rowCount,
FieldStats[] fieldStats,
List<Predicate> children) |
abstract boolean |
CompoundPredicate.Function.test(long rowCount,
FieldStats[] fieldStats,
List<Predicate> children) |
boolean |
And.test(long rowCount,
FieldStats[] fieldStats,
List<Predicate> children) |
boolean |
Or.test(Object[] values,
List<Predicate> children) |
abstract boolean |
CompoundPredicate.Function.test(Object[] values,
List<Predicate> children) |
boolean |
And.test(Object[] values,
List<Predicate> children) |
| 构造器和说明 |
|---|
PredicateFilter(RowType rowType,
Predicate predicate) |
| 构造器和说明 |
|---|
CompoundPredicate(CompoundPredicate.Function function,
List<Predicate> children) |
PredicateFilter(RowType rowType,
List<Predicate> predicates) |
| 限定符和类型 | 方法和说明 |
|---|---|
Predicate |
RowDataToObjectArrayConverter.createEqualPredicate(BinaryRow binaryRow) |
Copyright © 2023 The Apache Software Foundation. All rights reserved.