public class PartitionMarkDone extends Object implements PartitionListener
Constructor and Description |
---|
PartitionMarkDone(InternalRowPartitionComputer partitionComputer,
PartitionMarkDoneTrigger trigger,
List<PartitionMarkDoneAction> actions,
boolean waitCompaction) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static Optional<PartitionMarkDone> |
create(boolean isStreaming,
boolean isRestored,
org.apache.flink.api.common.state.OperatorStateStore stateStore,
FileStoreTable table) |
static void |
markDone(List<String> partitions,
List<PartitionMarkDoneAction> actions) |
void |
notifyCommittable(List<ManifestCommittable> committables) |
void |
snapshotState() |
public PartitionMarkDone(InternalRowPartitionComputer partitionComputer, PartitionMarkDoneTrigger trigger, List<PartitionMarkDoneAction> actions, boolean waitCompaction)
public static Optional<PartitionMarkDone> create(boolean isStreaming, boolean isRestored, org.apache.flink.api.common.state.OperatorStateStore stateStore, FileStoreTable table) throws Exception
Exception
public void notifyCommittable(List<ManifestCommittable> committables)
notifyCommittable
in interface PartitionListener
public static void markDone(List<String> partitions, List<PartitionMarkDoneAction> actions)
public void snapshotState() throws Exception
snapshotState
in interface PartitionListener
Exception
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.