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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<DataFile>
addedFiles()
RewriteDataFiles.FileGroupRewriteResult
asResult()
static java.util.Comparator<RewriteFileGroup>
comparator(RewriteJobOrder rewriteJobOrder)
java.util.List<FileScanTask>
fileScans()
RewriteDataFiles.FileGroupInfo
info()
int
numFiles()
java.util.Set<DataFile>
rewrittenFiles()
void
setOutputFiles(java.util.Set<DataFile> files)
long
sizeInBytes()
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
-
sizeInBytes
public long sizeInBytes()
-
numFiles
public int numFiles()
-
comparator
public static java.util.Comparator<RewriteFileGroup> comparator(RewriteJobOrder rewriteJobOrder)
-
-