[s3-dev] listing keys through prefix/delimiter
Simon Horne
simon at soulware.co.uk
Thu May 10 18:34:03 EDT 2007
Hi Marcel,
have you considered exposing the prefix/delimiter mechanism for
listing keys?
It might be useful to provide this functionality to query and
traverse the keys in a bucket.
S3Object might not be suitable for this so maybe there is a need for
S3Key or something similar - with a way of accessing the sub-keys
beneath it.
For the 2 keys -
/path/abc -> some_data
/path/def -> more_data
with a delimiter of "/", the subkeys of "/path" would be "/path/abc"
and "/path/def".
"/path" itself may contain no data but it would be useful to be able
to traverse through it to "/path/abc" which does contain data (and
could be represented by an S3Object instance).
Thanks,
Simon
More information about the amazon-s3-dev
mailing list