public class PositionDeletesRewriteCoordinator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
clearRewrite(org.apache.iceberg.Table table,
java.lang.String fileSetId) |
java.util.Set<F> |
fetchNewFiles(org.apache.iceberg.Table table,
java.lang.String fileSetId) |
java.util.Set<java.lang.String> |
fetchSetIds(org.apache.iceberg.Table table) |
static PositionDeletesRewriteCoordinator |
get() |
void |
stageRewrite(org.apache.iceberg.Table table,
java.lang.String fileSetId,
java.util.Set<F> newFiles)
Called to persist the output of a rewrite action for a specific group.
|
public static PositionDeletesRewriteCoordinator get()
public void stageRewrite(org.apache.iceberg.Table table,
java.lang.String fileSetId,
java.util.Set<F> newFiles)
table - table where the rewrite is occurringfileSetId - the id used to identify the source set of files being rewrittennewFiles - the new files which have been writtenpublic java.util.Set<F> fetchNewFiles(org.apache.iceberg.Table table,
java.lang.String fileSetId)
public void clearRewrite(org.apache.iceberg.Table table,
java.lang.String fileSetId)
public java.util.Set<java.lang.String> fetchSetIds(org.apache.iceberg.Table table)