Class ContentFileUtil

java.lang.Object
org.apache.iceberg.util.ContentFileUtil

public class ContentFileUtil extends Object
  • Method Details

    • copy

      public static <F extends ContentFile<K>, K> K copy(F file, boolean withStats, Set<Integer> requestedColumnIds)
      Copies the ContentFile with 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 null then every column stat is kept.
      Returns:
      The copied file
    • referencedDataFile

      public static CharSequence referencedDataFile(DeleteFile deleteFile)