ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / HDFS system
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Lists the content of a directory found on a Hadoop server.
Example
// Connection
MyConnection is hdfsConnection
MyConnection.namenode = "MyServer"
MyConnection.User = "Admin"
MyConnection.OpenConnection()
// Retrieve the directory content
Content is array of hdfsStatus = MyConnection.List("/")
// Display the directory content
FOR EACH Elem OF Content
Trace(Elem.Path)
END
Syntax
<Result> = <Connection>.List(<Path>)
<Result>: Array
Array of hdfsStatus variables corresponding to the directory content.
<Connection>: hdfsConnection variable
Name of the hdfsConnection variable that corresponds to connection to the Hadoop server.
<Path>: Character string
Absolute path of the directory on the Hadoop server whose content will be listed. This path is case sensitive.
Component: wd300big.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/25/2024

Send a report | Local help