PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Note: See Declaring a variable for more details.
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 available in read-only.
AccessDateDateTimeDate and time of the last access to the element.
This property is available in read-only.
ModificationDateDateTimeDate and time of the last modification made to the element.
This property is available in read-only.
RightshdfsRights variableAccess rights to the element.
This property is available in read-only.
GroupCharacter stringName of the group that owns the element.
This property is available in read-only.
LinkCharacter stringTarget of link, if the element is a link.
This property is available in read-only.
NumberReplicatIntegerNumber of copies stored for the elements.
This property is available in read-only.
OwnerCharacter stringOwner of the element.
This property is available in read-only.
SizeIntegerSize of the element in bytes.
This property is available in read-only.
BlockSizeIntegerSize of blocks for distributing the element on the different servers.
This property is available in 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 available in read-only.

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment