GetDirSummary Method
Gets a content summary for a directory.
Syntax
ANSI (Cross Platform) int GetDirSummary(const char* lpszDirPath); Unicode (Windows) INT GetDirSummary(LPCWSTR lpszDirPath);
- (void)getDirSummary:(NSString*)dirPath;
#define MID_HADOOPDFS_GETDIRSUMMARY 8 IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_HadoopDFS_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);
Remarks
This method gets a content summary for the directory at DirPath, populating the DirSummary* properties.
DirPath may be empty to get a content summary for the root directory (/).
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)