How to list objects by extension from s3 api?

前端 未结 6 685
醉话见心
醉话见心 2021-01-11 16:08

Can i somehow search objects in S3 by extension, not only by prefix?

Here is what i have now:

ListObjectsResponse r = s3Client.ListObjects(new Amazon         


        
6条回答
  •  南笙
    南笙 (楼主)
    2021-01-11 16:39

    I don't believe this is possible with S3.

    The best solution is to 'index' S3 using a database (Sql Server, MySql, SimpleDB etc) and do your queries against that.

提交回复
热议问题