Class ContentFileUtil


  • public class ContentFileUtil
    extends java.lang.Object
    • Method Detail

      • copy

        public static <F extends ContentFile<K>,​K> K copy​(F file,
                                                                boolean withStats,
                                                                java.util.Set<java.lang.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 java.lang.CharSequence referencedDataFile​(DeleteFile deleteFile)
      • referencedDataFileLocation

        public static java.lang.String referencedDataFileLocation​(DeleteFile deleteFile)