@Beta
@Consumes(value="application/json")
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") @PUT @Path(value="/{path}") ExtractArchiveResponse extractArchive(@PathParam(value="path") String path, Payload payload, @QueryParam(value="extract-archive") 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") @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-2018 The Apache Software Foundation. All Rights Reserved.