PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Lists the content of a directory found on a Hadoop server.
Example
// Connection
MyConnection is hdfsConnection
MyLogin.namenode = "MyServer".
MyUser Login = "Admin".
hdfsOpenConnection(MyConnection)
// Retrieve the directory content
Content is array of hdfsStatus = hdfsList(MyConnection, "/")
// Display the directory content
FOR EACH Elem OF Content
Trace( Elem.Chemin)
END
Syntax
<Result> = hdfsList(<Connection> , <Path>)
<Result>: Array
Array of hdfsStatus variables corresponding to the directory content.
<Connection>: hdfsConnection variable
Name of the variable of type hdfsConnection corresponding to the Connection at the Hadoop server.
<Path>: Character string (with quotes)
Absolute path of the directory on the Hadoop server whose content will be listed. This path is case sensitive.
Component : wd260big.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment