The section describes how to query metadata based on custom query conditions. The query conditions support the AND and OR relationships between metadata fields, making the query more flexible, complex, and accurate.
The Query Metadata page is displayed.
Parameter |
Description |
|---|---|
Name |
Name of a file or object, excluding the path. |
Owning Account |
Name of an account to which a file or object belongs.
NOTE:
If the owning account is system and the root user or user group is used as the search condition, you need to manually create the local root authentication user or user group of UNIX. Otherwise, no data will be found. For details, see Configuring and Managing UNIX Users. |
Namespace |
Namespace to which a file or object belongs. |
Path |
Path of a file, object, or directory. |
Type |
Type of a file or directory.
|
Size |
Size of a file or object. Unit: byte |
Last Modified |
Time when a file, object, or directory is last modified. |
Last Accessed |
Time when a file, object, or directory is last accessed.
NOTE:
This parameter requires the Automatic Update of Atime function to be enabled for the corresponding namespace. After the function is enabled, system performance will be affected. |
Created |
Time when a file or object is created. |
UNIX User ID |
UNIX user ID when the NFS protocol is used.
|
UNIX User Group ID |
UNIX user group ID when the NFS protocol is used.
|
UNIX User |
UNIX user name when the NFS protocol is used.
|
UNIX User Group |
UNIX user group name when the NFS protocol is used.
|
Extended File Attribute |
Attribute xattr of a file. You can use the xattr API to set the custom metadata of a file. This condition is used to query the file list by custom metadata. |
Custom Object Metadata |
Custom metadata of an object. When uploading an object, you can customize the metadata header of the object. This condition is used to query the object list by custom metadata. |
Custom Tag |
Custom label of an object. |
If a user or user group exists in a selected condition, you can select only one user or user group. You must select only one account to which the user or user group belongs. The condition relationship is AND.
to remove an unnecessary condition.A maximum of 10,000 results can be queried.