你如何寻找一个Amazon S3的桶? [英] How do you search an amazon s3 bucket?

查看:389
本文介绍了你如何寻找一个Amazon S3的桶?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有成千上万的文件中有一个水桶。如何搜索斗?你有什么可以推荐的工具?

I have a bucket with thousands of files in it. How can I search the bucket? Is there a tool you can recommend?

推荐答案

S3并没有一个本土搜索这个桶,因为实际内容是未知的 - 而且,由于S3是基于键/值没有原生的方式访问多个节点同时ALA,提供更多的传统的数据存储在(SELECT * FROM ... WHERE ...)(在SQL模式)。

S3 doesn't have a native "search this bucket" since the actual content is unknown - also, since S3 is key/value based there is no native way to access many nodes at once ala more traditional datastores that offer a (SELECT * FROM ... WHERE ...) (in a SQL model).

你将需要做的是执行 ListBucket 来获取对象的列表,在桶,然后遍历执行你实现一个自定义操作每一个项目 - 这是您的搜索。

What you will need to do is perform ListBucket to get a listing of objects in the bucket and then iterate over every item performing a custom operation that you implement - which is your searching.

这篇关于你如何寻找一个Amazon S3的桶?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆