Class ProcTimeCommitPredicate
- java.lang.Object
-
- org.apache.flink.connector.file.table.stream.ProcTimeCommitPredicate
-
- All Implemented Interfaces:
PartitionCommitPredicate
@Internal public class ProcTimeCommitPredicate extends Object implements PartitionCommitPredicate
Partition commit trigger by creation time and processing time service, if 'current processing time' > 'partition creation 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 ProcTimeCommitPredicate(Configuration conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPartitionCommittable(PartitionCommitPredicate.PredicateContext predicateContext)
-
-
-
Constructor Detail
-
ProcTimeCommitPredicate
public ProcTimeCommitPredicate(Configuration conf)
-
-
Method Detail
-
isPartitionCommittable
public boolean isPartitionCommittable(PartitionCommitPredicate.PredicateContext predicateContext)
- Specified by:
isPartitionCommittable
in interfacePartitionCommitPredicate
-
-