frostfs-node/pkg/local_object_storage/blobovnicza
Leonard Lyubich 5e2ca0d04b [#791] blobovnicza: Implement method to iterate over object addresses
In previous implementation `Blobovnicza.Iterate` op decoded object data only
and passed it to the handler. There is a need to iterate over all addresses
of the stored objects.

Add `DecodeAddresses` and `WithoutData` methods of `IteratePrm` type. Add
`Address` method to `IterationElement` type. Make `Iterate` to decode object
addresses if `DecodeAddress` was called and not read the data if
`WithoutData` was called. Implement `IterateAddresses` helper function to
simplify the code.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-10-05 10:51:10 +03:00
..
blobovnicza.go [#638] Update to Go 1.16 2021-06-29 13:44:59 +03:00
blobovnicza_test.go [#789] blobovnicza: Implement iterator 2021-09-15 18:22:09 +03:00
control.go [#727] Use util.MkdirAllX instead of os.MkdirAll 2021-07-30 16:42:22 +03:00
delete.go [#220] localstorage: Replace basic errors to core library 2020-12-11 17:19:37 +03:00
get.go [#229] blobovnicza: Store objects in a binary format 2020-12-11 17:19:37 +03:00
get_range.go [#643] pkg: Sync method names and commentaries to them 2021-06-24 16:10:44 +03:00
id.go [#216] blobovnicza: Change ID stringer 2020-12-11 17:19:37 +03:00
iterate.go [#791] blobovnicza: Implement method to iterate over object addresses 2021-10-05 10:51:10 +03:00
put.go [#791] blobovnicza: Implement method to iterate over object addresses 2021-10-05 10:51:10 +03:00
sizes.go [#615] blobovnicza: Simplify byte size stringer 2021-06-16 12:14:04 +03:00
sizes_test.go [#216] blobovnicza: Implement main methods and logic 2020-12-11 17:19:37 +03:00