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 LocatedFileStatus next() throws IOException {
|
|||||||
* </dd>
|
* </dd>
|
||||||
* </dl>
|
* </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
|
* @return an array of paths that match the path pattern
|
||||||
*
|
*
|
||||||
@ -2040,7 +2040,7 @@ public FileStatus[] globStatus(Path pathPattern)
|
|||||||
* Return null if pathPattern has no glob and the path does not exist.
|
* 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.
|
* 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
|
* @param filter user-supplied path filter
|
||||||
*
|
*
|
||||||
* @return an array of FileStatus objects
|
* @return an array of FileStatus objects
|
||||||
|
@ -2058,7 +2058,7 @@ public FileStatus[] listStatus(Path[] files, PathFilter filter)
|
|||||||
* </dd>
|
* </dd>
|
||||||
* </dl>
|
* </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
|
* @return an array of paths that match the path pattern
|
||||||
* @throws IOException IO failure
|
* @throws IOException IO failure
|
||||||
@ -2072,7 +2072,7 @@ public FileStatus[] globStatus(Path pathPattern) throws IOException {
|
|||||||
* {@code pathPattern} and is accepted by the user-supplied path filter.
|
* {@code pathPattern} and is accepted by the user-supplied path filter.
|
||||||
* Results are sorted by their path names.
|
* 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
|
* @param filter a user-supplied path filter
|
||||||
* @return null if {@code pathPattern} has no glob and the path does not exist
|
* @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
|
* an empty array if {@code pathPattern} has a glob and no path
|
||||||
|
Loading…
Reference in New Issue
Block a user