Class PartitionTimeCommitPredicate
- java.lang.Object
-
- org.apache.flink.connector.file.table.stream.PartitionTimeCommitPredicate
-
- All Implemented Interfaces:
PartitionCommitPredicate
@Internal public class PartitionTimeCommitPredicate extends Object implements PartitionCommitPredicate
Partition commit predicate by partition time and watermark, if 'watermark' > 'partition-time' + 'delay', the partition is committable.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.connector.file.table.stream.PartitionCommitPredicate
PartitionCommitPredicate.PredicateContext
-
-
Constructor Summary
Constructors Constructor Description PartitionTimeCommitPredicate(Configuration conf, ClassLoader cl, List<String> partitionKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPartitionCommittable(PartitionCommitPredicate.PredicateContext predicateContext)
-
-
-
Constructor Detail
-
PartitionTimeCommitPredicate
public PartitionTimeCommitPredicate(Configuration conf, ClassLoader cl, List<String> partitionKeys)
-
-
Method Detail
-
isPartitionCommittable
public boolean isPartitionCommittable(PartitionCommitPredicate.PredicateContext predicateContext)
- Specified by:
isPartitionCommittable
in interfacePartitionCommitPredicate
-
-