4个版本
| 0.1.3 | 2021年1月2日 |
|---|---|
| 0.1.2 | 2021年1月1日 |
| 0.1.1 | 2020年12月31日 |
| 0.1.0 | 2020年8月27日 |
#88 在 #amazon-s3
31KB
797 行
S3QL
受SQL启发的S3查询语言。
用法
待定
本地开发
对于本地开发,需要 rust,cargo,python,pip 和 docker。要使用 localstsack 设置本地S3,可以执行 make setup,要使用 localstack 启动S3,可以执行 make s3。
- S3将在 https://:4566
待定
- 更多测试
- 示例用法
- 文档
- 身份验证(S3CLient可以直接使用
rusoto_s3::S3Client或具有auth功能的s3_client_with函数)
存储桶
- 创建存储桶 -
create_s3_bucket - 删除存储桶 -
drop_s3_bucket - 存在存储桶 -
has_s3_bucket - 显示存储桶 -
show_s3_buckets
事务
- 插入对象 -
insert_s3_object - 更新对象元数据 -
update_s3_object_metadata - 更新对象体 -
update_s3_object_body
直接读取
- 读取对象 -
read_s3_object - 读取对象体 -
read_s3_object_body - 存在对象 -
has_s3_object - 显示存储桶中的对象 -
show_s3_objects
查询
- 选择对象内容(AWS和localstack-pro仅限)
- 存储桶中所有查询对象
- 条件 https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference-conditional.html
- 转换 https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference-conversion.html
- 日期函数 https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference-date.html
- 字符串函数 https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference-string.html
依赖关系
~19MB
~316K SLoC