Class ContentFileUtil


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      static java.lang.CharSequence referencedDataFile​(DeleteFile deleteFile)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)