@Internal public interface PartitionCommitTrigger
PartitionTimeCommitTrigger
. See ProcTimeCommitTrigger
.Modifier and Type | Method and Description |
---|---|
void |
addPartition(String partition)
Add a pending partition.
|
List<String> |
committablePartitions(long checkpointId)
Get committable partitions, and cleanup useless watermarks and partitions.
|
static PartitionCommitTrigger |
create(boolean isRestored,
OperatorStateStore stateStore,
Configuration conf,
ClassLoader cl,
List<String> partitionKeys,
ProcessingTimeService procTimeService) |
List<String> |
endInput()
End input, return committable partitions and clear.
|
void |
snapshotState(long checkpointId,
long watermark)
Snapshot state.
|
void addPartition(String partition)
List<String> committablePartitions(long checkpointId) throws IOException
IOException
void snapshotState(long checkpointId, long watermark) throws Exception
Exception
static PartitionCommitTrigger create(boolean isRestored, OperatorStateStore stateStore, Configuration conf, ClassLoader cl, List<String> partitionKeys, ProcessingTimeService procTimeService) throws Exception
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.