Interface FileStatusFilter

All Known Implementing Classes:
AbstractFileStatusFilter, FSUtils.BlackListDirFilter, FSUtils.DirFilter, FSUtils.FamilyDirFilter, FSUtils.FileFilter, FSUtils.HFileFilter, FSUtils.ReferenceFileFilter, FSUtils.RegionDirFilter, FSUtils.UserTableDirFilter, SnapshotDescriptionUtils.CompletedSnaphotDirectoriesFilter

@Private @Evolving public interface FileStatusFilter
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(org.apache.hadoop.fs.FileStatus f)
    Tests whether or not the specified filestatus should be included in a filestatus list.
  • Method Details

    • accept

      boolean accept(org.apache.hadoop.fs.FileStatus f)
      Tests whether or not the specified filestatus should be included in a filestatus list.
      Parameters:
      f - The filestatus to be tested
      Returns:
      true if and only if the filestatus should be included