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