forked from TrueCloudLab/frostfs-api
Add split_id search attribute and remove childfree
After adding `split_id` there is no need to have $Object:CHILDFREE. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
71469da602
commit
73143ac362
1 changed files with 3 additions and 5 deletions
|
@ -304,7 +304,7 @@ message SearchRequest {
|
||||||
//
|
//
|
||||||
// * $Object:version \
|
// * $Object:version \
|
||||||
// version
|
// version
|
||||||
// * $Object:objectID \
|
// * $Object:objectID \
|
||||||
// object_id
|
// object_id
|
||||||
// * $Object:containerID \
|
// * $Object:containerID \
|
||||||
// container_id
|
// container_id
|
||||||
|
@ -322,6 +322,8 @@ message SearchRequest {
|
||||||
// homomorphic_hash
|
// homomorphic_hash
|
||||||
// * $Object:split.parent \
|
// * $Object:split.parent \
|
||||||
// object_id of parent
|
// object_id of parent
|
||||||
|
// * $Object:split.split_id \
|
||||||
|
// 16 byte UUID used to identify the split object hierarchy parts
|
||||||
//
|
//
|
||||||
// There are some well-known filter aliases to match objects by certain
|
// There are some well-known filter aliases to match objects by certain
|
||||||
// properties:
|
// properties:
|
||||||
|
@ -338,10 +340,6 @@ message SearchRequest {
|
||||||
// * $Object:PHY \
|
// * $Object:PHY \
|
||||||
// Returns only objects physically stored in the system. This filter is
|
// Returns only objects physically stored in the system. This filter is
|
||||||
// activated if the `key` exists, disregarding the value and matcher type.
|
// activated if the `key` exists, disregarding the value and matcher type.
|
||||||
// * $Object:CHILDFREE \
|
|
||||||
// With the `value` set to `true` checks if an object has empty
|
|
||||||
// children list in `Split` header. With other values returns
|
|
||||||
// non-childfree objects.
|
|
||||||
message Filter {
|
message Filter {
|
||||||
// Match type to use
|
// Match type to use
|
||||||
MatchType match_type = 1;
|
MatchType match_type = 1;
|
||||||
|
|
Loading…
Reference in a new issue