|
@@ -1501,7 +1501,9 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|
|
/**
|
|
|
* List the statuses of the files/directories in the given path if the path is
|
|
|
* a directory.
|
|
|
- *
|
|
|
+ * <p>
|
|
|
+ * Does not guarantee to return the List of files/directories status in a
|
|
|
+ * sorted order.
|
|
|
* @param f given path
|
|
|
* @return the statuses of the files/directories in the given patch
|
|
|
* @throws FileNotFoundException when the path does not exist;
|
|
@@ -1543,6 +1545,9 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|
|
/**
|
|
|
* Filter files/directories in the given path using the user-supplied path
|
|
|
* filter.
|
|
|
+ * <p>
|
|
|
+ * Does not guarantee to return the List of files/directories status in a
|
|
|
+ * sorted order.
|
|
|
*
|
|
|
* @param f
|
|
|
* a path name
|
|
@@ -1563,6 +1568,9 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|
|
/**
|
|
|
* Filter files/directories in the given list of paths using default
|
|
|
* path filter.
|
|
|
+ * <p>
|
|
|
+ * Does not guarantee to return the List of files/directories status in a
|
|
|
+ * sorted order.
|
|
|
*
|
|
|
* @param files
|
|
|
* a list of paths
|
|
@@ -1579,6 +1587,9 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|
|
/**
|
|
|
* Filter files/directories in the given list of paths using user-supplied
|
|
|
* path filter.
|
|
|
+ * <p>
|
|
|
+ * Does not guarantee to return the List of files/directories status in a
|
|
|
+ * sorted order.
|
|
|
*
|
|
|
* @param files
|
|
|
* a list of paths
|
|
@@ -1739,6 +1750,8 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|
|
* while consuming the entries. Each file system implementation should
|
|
|
* override this method and provide a more efficient implementation, if
|
|
|
* possible.
|
|
|
+ * Does not guarantee to return the iterator that traverses statuses
|
|
|
+ * of the files in a sorted order.
|
|
|
*
|
|
|
* @param p target path
|
|
|
* @return remote iterator
|
|
@@ -1766,6 +1779,8 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|
|
|
|
|
/**
|
|
|
* List the statuses and block locations of the files in the given path.
|
|
|
+ * Does not guarantee to return the iterator that traverses statuses
|
|
|
+ * of the files in a sorted order.
|
|
|
*
|
|
|
* If the path is a directory,
|
|
|
* if recursive is false, returns files in the directory;
|