public interface RewritePositionDeleteStrategy
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Returns the name of this rewrite deletes strategy
|
RewritePositionDeleteStrategy |
options(java.util.Map<java.lang.String,java.lang.String> options)
Sets options to be used with this strategy
|
java.lang.Iterable<java.lang.Iterable<DeleteFile>> |
planDeleteFileGroups(java.lang.Iterable<DeleteFile> deleteFiles)
Groups into lists which will be processed in a single executable unit.
|
java.lang.Iterable<DeleteFile> |
rewriteDeleteFiles(java.lang.Iterable<DeleteFile> deleteFilesToRewrite)
Define how to rewrite the deletes.
|
java.lang.Iterable<DeleteFile> |
selectDeleteFiles(java.lang.Iterable<DeleteFile> deleteFiles)
Select the delete files to rewrite.
|
Table |
table()
Returns the table being modified by this rewrite strategy
|
java.util.Set<java.lang.String> |
validOptions()
Returns a set of options which this rewrite strategy can use.
|
java.lang.String name()
Table table()
java.util.Set<java.lang.String> validOptions()
RewritePositionDeleteStrategy options(java.util.Map<java.lang.String,java.lang.String> options)
java.lang.Iterable<DeleteFile> selectDeleteFiles(java.lang.Iterable<DeleteFile> deleteFiles)
deleteFiles
- iterable of delete files in a group.java.lang.Iterable<java.lang.Iterable<DeleteFile>> planDeleteFileGroups(java.lang.Iterable<DeleteFile> deleteFiles)
deleteFiles
- iterable of DeleteFile to be rewrittenjava.lang.Iterable<DeleteFile> rewriteDeleteFiles(java.lang.Iterable<DeleteFile> deleteFilesToRewrite)
deleteFilesToRewrite
- a group of files to be rewritten together