Interface PartitionCommitPredicate
-
- All Known Implementing Classes:
PartitionTimeCommitPredicate
,ProcTimeCommitPredicate
@Internal public interface PartitionCommitPredicate
Partition commit predicate. SeePartitionTimeCommitPredicate
. SeeProcTimeCommitPredicate
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PartitionCommitPredicate.PredicateContext
Context thatPartitionCommitPredicate
can use for getting context about a partition.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PartitionCommitPredicate
create(Configuration conf, ClassLoader cl, List<String> partitionKeys)
static PartitionCommitPredicate
createPartitionTimeCommitPredicate(Configuration conf, ClassLoader cl, List<String> partitionKeys)
static PartitionCommitPredicate.PredicateContext
createPredicateContext(String partition, long createProcTime, long currentProcTime, long currentWatermark)
static PartitionCommitPredicate
createProcTimeCommitPredicate(Configuration conf)
boolean
isPartitionCommittable(PartitionCommitPredicate.PredicateContext predicateContext)
-
-
-
Method Detail
-
isPartitionCommittable
boolean isPartitionCommittable(PartitionCommitPredicate.PredicateContext predicateContext)
-
createPredicateContext
static PartitionCommitPredicate.PredicateContext createPredicateContext(String partition, long createProcTime, long currentProcTime, long currentWatermark)
-
createPartitionTimeCommitPredicate
static PartitionCommitPredicate createPartitionTimeCommitPredicate(Configuration conf, ClassLoader cl, List<String> partitionKeys)
-
createProcTimeCommitPredicate
static PartitionCommitPredicate createProcTimeCommitPredicate(Configuration conf)
-
create
static PartitionCommitPredicate create(Configuration conf, ClassLoader cl, List<String> partitionKeys)
-
-