Skip to content

Selection criteria for listObjects() #355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FilipJirsak opened this issue Oct 9, 2023 · 0 comments
Open

Selection criteria for listObjects() #355

FilipJirsak opened this issue Oct 9, 2023 · 0 comments
Labels
type: improvement A minor improvement to an existing feature

Comments

@FilipJirsak
Copy link

Feature description

Most blob storage supports server-side filtering of blob lists. It would be good if the listObjects() method were overloaded to allow for specifying parameters for this selection. Almost all services allow filtering by prefix, so it would be appropriate to have a method like listObjectsbyPrefix(String) that supports list of blob names starting with prefix.
Filtering can be done within the application, but for large buckets, it can be a resource-intensive operation. So it's better to perform the filtering directly on the server.

@alvarosanchez alvarosanchez added the type: improvement A minor improvement to an existing feature label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants