@Beta
public interface BulkApi
Modifier and Type | Interface and Description |
---|---|
static class |
BulkApi.UrlEncodeAndJoinOnNewline |
Modifier and Type | Method and Description |
---|---|
BulkDeleteResponse |
bulkDelete(Iterable<String> paths)
Deletes multiple objects or containers, if present.
|
ExtractArchiveResponse |
extractArchive(String path,
Payload payload,
String format)
Extracts a tar archive at the path specified as
path . |
@Named(value="bulk:extractArchive") ExtractArchiveResponse extractArchive(String path, Payload payload, String format)
path
.path
- the path to extract under.payload
- the payload
archive.format
- one of tar
, tar.gz
, or tar.bz2
BulkDeleteResponse.getErrors()
are empty on success.@Named(value="bulk:delete") BulkDeleteResponse bulkDelete(Iterable<String> paths)
paths
- format of container
, for an empty container, or
container/object
for an object.BulkDeleteResponse.getErrors()
are empty on success.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.