public interface ConvertEqualityDeleteStrategy
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<DeleteFile> |
convertDeleteFiles(java.lang.Iterable<DeleteFile> deleteFilesToConvert)
Define how to convert the deletes.
|
java.lang.String |
name()
Returns the name of this convert deletes strategy
|
ConvertEqualityDeleteStrategy |
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<FileScanTask>> |
planDeleteFileGroups(java.lang.Iterable<FileScanTask> dataFiles)
Groups delete files into lists which will be processed in a single executable unit.
|
java.lang.Iterable<DeleteFile> |
selectDeleteFiles(java.lang.Iterable<DeleteFile> deleteFiles)
Select the delete files to convert.
|
Table |
table()
Returns the table being modified by this convert strategy
|
java.util.Set<java.lang.String> |
validOptions()
Returns a set of options which this convert strategy can use.
|
java.lang.String name()
Table table()
java.util.Set<java.lang.String> validOptions()
ConvertEqualityDeleteStrategy 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<FileScanTask>> planDeleteFileGroups(java.lang.Iterable<FileScanTask> dataFiles)
dataFiles
- iterable of data files that contain the DeleteFile to be convertedjava.lang.Iterable<DeleteFile> convertDeleteFiles(java.lang.Iterable<DeleteFile> deleteFilesToConvert)
deleteFilesToConvert
- a group of files to be converted together