IPWorks Cloud 2020 C++ Builder Edition

Questions / Feedback?

ResourceList Event

Fires once for each resource returned when listing resources.

Syntax

typedef struct {
  String Name;
  String Path;
  int ResourceType;
  __int64 ModifiedTime;
  __int64 AccessTime;
  __int64 Size;
  String Permission;
  String Owner;
  String Group;
  int Replication;
} TicsHadoopDFSResourceListEventParams;

typedef void __fastcall (__closure *TicsHadoopDFSResourceListEvent)(System::TObject* Sender, TicsHadoopDFSResourceListEventParams *e);

__property TicsHadoopDFSResourceListEvent OnResourceList = { read=FOnResourceList, write=FOnResourceList };

Remarks

This event fires once for each resource returned when ListResources or GetResourceInfo is called.

Name is the name of the resource.

Path is the full path of the resource.

ResourceType reflects the resource's type. Possible values are:

0 (hrtFile) A file.
1 (hrtDirectory) A directory.
2 (hrtSymLink) A symlink.

ModifiedTime and AccessTime reflect the resource's last modified and last access times, in milliseconds relative to the Unix epoch.

Size reflects the size of the file, in bytes. Always 0 for directories.

Permission reflects the resource's permission bits, represented as an octal string (e.g., 755).

Owner is the name of the resource's owner.

Group is the name of the resource's group.

Replication reflects the file's replication factor. Always 0 for directories.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Builder Edition - Version 20.0 [Build 8265]