public List<FileStatus> getFileStatusesForUnpartitionedTable(Database db, Table table)
      throws MetaException {
    Path tablePath = getDnsPath(new Path(table.getSd().getLocation()));
    try {
      FileSystem fileSys = tablePath.getFileSystem(conf);
      return FileUtils.getFileStatusRecurse(tablePath, fileSys);
    } catch (IOException ioe) {
      MetaStoreUtils.throwMetaException(ioe);
    }
    return null;
  }
@param db database
@param table table
@return array of FileStatus objects corresponding to the files making up the passed
unpartitioned table
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java