These functions are in the http://xmlns.oracle.com/hadoop/xquery
namespace. The oxh
prefix is predeclared and the module is automatically imported.
The Hadoop module is described in the following topic:
Hadoop Functions
The following functions are built in to Oracle XQuery for Hadoop:
Returns a sequence of file paths that match a pattern.
oxh:find($pattern as xs:string?) as xs:string*
$pattern
: The file pattern to search for
See Also:
For the file pattern, theglobStatus
method in the Apache Hadoop API at
Increments a user-defined MapReduce job counter. The default increment is one (1).
oxh:increment-counter($groupName as xs:string, $counterName as xs:string, $value as xs:integer oxh:increment-counter($groupName as xs:string, $counterName as xs:string
$groupName
: The group of counters that this counter belongs to.
$counterName
: The name of a user-defined counter
$value
: The amount to increment the counter