PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of hdfsStatus variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
hdfsStatus (Type of variable)
In french: hdfsInformation
The hdfsStatus type is used to find out the status of an element (file, directory, link) in the Hadoop file system. The characteristics of this status are returned by several WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connection
MyConnection is hdfsConnection
MyConnection.namenode = "MyServer"
MyConnection.User = "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.Path)
END
Remarks

Properties specific to the description of hdfsStatus variables

The following properties can be used to handle an element status in the Hadoop file system:
Property nameType usedEffect
PathCharacter stringPath of the element in the Hadoop file system
This property is read-only.
AccessDateDateTimeDate and time of the last access to the element.
This property is read-only.
ModificationDateDateTimeDate and time of the last modification made to the element.
This property is read-only.
RightshdfsRights variableAccess rights to the element.
This property is read-only.
GroupCharacter stringName of the group that owns the element.
This property is read-only.
LinkCharacter stringTarget of link, if the element is a link.
This property is read-only.
NumberReplicatIntegerNumber of copies stored for the elements.
This property is read-only.
OwnerCharacter stringOwner of the element.
This property is read-only.
SizeIntegerSize of the element in bytes.
This property is read-only.
BlockSizeIntegerSize of blocks for distributing the element on the different servers.
This property is read-only.
TypeIntegerType of element:
  • hdfsFile if the element is a file.
  • hdfsDirectory if the element is a directory.
  • hdfsLink if the element is a link to a file.
This property is read-only.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment