@Internal public interface PartitionCommitPredicate
PartitionTimeCommitPredicate
. See ProcTimeCommitPredicate
Modifier and Type | Interface and Description |
---|---|
static interface |
PartitionCommitPredicate.PredicateContext
Context that
PartitionCommitPredicate can use for getting context about a partition. |
Modifier and Type | Method and 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) |
boolean isPartitionCommittable(PartitionCommitPredicate.PredicateContext predicateContext)
static PartitionCommitPredicate.PredicateContext createPredicateContext(String partition, long createProcTime, long currentProcTime, long currentWatermark)
static PartitionCommitPredicate createPartitionTimeCommitPredicate(Configuration conf, ClassLoader cl, List<String> partitionKeys)
static PartitionCommitPredicate createProcTimeCommitPredicate(Configuration conf)
static PartitionCommitPredicate create(Configuration conf, ClassLoader cl, List<String> partitionKeys)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.