Package org.apache.iceberg.actions
Class RewriteFileGroup
- java.lang.Object
-
- org.apache.iceberg.actions.RewriteFileGroup
-
public class RewriteFileGroup extends java.lang.Object
Container class representing a set of files to be rewritten by a RewriteAction and the new files which have been written by the action.
-
-
Constructor Summary
Constructors Constructor Description RewriteFileGroup(RewriteDataFiles.FileGroupInfo info, java.util.List<FileScanTask> fileScanTasks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<DataFile>
addedFiles()
RewriteDataFiles.FileGroupRewriteResult
asResult()
java.util.List<FileScanTask>
fileScans()
RewriteDataFiles.FileGroupInfo
info()
java.util.Set<DataFile>
rewrittenFiles()
void
setOutputFiles(java.util.Set<DataFile> files)
java.lang.String
toString()
-
-
-
Constructor Detail
-
RewriteFileGroup
public RewriteFileGroup(RewriteDataFiles.FileGroupInfo info, java.util.List<FileScanTask> fileScanTasks)
-
-
Method Detail
-
info
public RewriteDataFiles.FileGroupInfo info()
-
fileScans
public java.util.List<FileScanTask> fileScans()
-
setOutputFiles
public void setOutputFiles(java.util.Set<DataFile> files)
-
rewrittenFiles
public java.util.Set<DataFile> rewrittenFiles()
-
addedFiles
public java.util.Set<DataFile> addedFiles()
-
asResult
public RewriteDataFiles.FileGroupRewriteResult asResult()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-