HDFS-13016. globStatus javadoc refers to glob pattern as "regular expression". Contributed by Mukul Kumar Singh.
This commit is contained in:
parent
9afb8025d6
commit
7016dd44e0
|
@ -2012,7 +2012,7 @@ public class FileContext {
|
|||
* </dd>
|
||||
* </dl>
|
||||
*
|
||||
* @param pathPattern a regular expression specifying a pth pattern
|
||||
* @param pathPattern a glob specifying a path pattern
|
||||
*
|
||||
* @return an array of paths that match the path pattern
|
||||
*
|
||||
|
@ -2040,7 +2040,7 @@ public class FileContext {
|
|||
* Return null if pathPattern has no glob and the path does not exist.
|
||||
* Return an empty array if pathPattern has a glob and no path matches it.
|
||||
*
|
||||
* @param pathPattern regular expression specifying the path pattern
|
||||
* @param pathPattern glob specifying the path pattern
|
||||
* @param filter user-supplied path filter
|
||||
*
|
||||
* @return an array of FileStatus objects
|
||||
|
|
|
@ -2058,7 +2058,7 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|||
* </dd>
|
||||
* </dl>
|
||||
*
|
||||
* @param pathPattern a regular expression specifying a pth pattern
|
||||
* @param pathPattern a glob specifying a path pattern
|
||||
|
||||
* @return an array of paths that match the path pattern
|
||||
* @throws IOException IO failure
|
||||
|
@ -2072,7 +2072,7 @@ public abstract class FileSystem extends Configured implements Closeable {
|
|||
* {@code pathPattern} and is accepted by the user-supplied path filter.
|
||||
* Results are sorted by their path names.
|
||||
*
|
||||
* @param pathPattern a regular expression specifying the path pattern
|
||||
* @param pathPattern a glob specifying the path pattern
|
||||
* @param filter a user-supplied path filter
|
||||
* @return null if {@code pathPattern} has no glob and the path does not exist
|
||||
* an empty array if {@code pathPattern} has a glob and no path
|
||||
|
|
Loading…
Reference in New Issue