Package org.apache.iceberg.util
Class ContentFileUtil
java.lang.Object
org.apache.iceberg.util.ContentFileUtil
- 
Method SummaryModifier and TypeMethodDescriptionstatic <F extends ContentFile<K>,K> 
 KCopies theContentFilewith the specific stat settings.static CharSequencereferencedDataFile(DeleteFile deleteFile) 
- 
Method Details- 
copypublic static <F extends ContentFile<K>,K> K copy(F file, boolean withStats, Set<Integer> requestedColumnIds) Copies theContentFilewith the specific stat settings.- Parameters:
- file- a generic data file to copy.
- withStats- whether to keep any stats
- requestedColumnIds- column ids for which to keep stats. If- nullthen every column stat is kept.
- Returns:
- The copied file
 
- 
referencedDataFile
 
-