public class UnawareBucketCompactor extends Object
UnawareAppendCompactionTask
.Modifier and Type | Field and Description |
---|---|
protected Queue<Future<CommitMessage>> |
result |
Constructor and Description |
---|
UnawareBucketCompactor(FileStoreTable table,
String commitUser,
java.util.function.Supplier<ExecutorService> lazyCompactExecutor) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
List<Committable> |
prepareCommit(boolean waitCompaction,
long checkpointId) |
void |
processElement(UnawareAppendCompactionTask task) |
Iterable<Future<CommitMessage>> |
result() |
protected final transient Queue<Future<CommitMessage>> result
public UnawareBucketCompactor(FileStoreTable table, String commitUser, java.util.function.Supplier<ExecutorService> lazyCompactExecutor)
public void processElement(UnawareAppendCompactionTask task) throws Exception
Exception
public List<Committable> prepareCommit(boolean waitCompaction, long checkpointId) throws IOException
IOException
public Iterable<Future<CommitMessage>> result()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.