mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -04:00
Add bulk delete method to BlobStore interface and implementations (#98948)
This commit is contained in:
parent
01686a8093
commit
f6a2b5c9ef
17 changed files with 196 additions and 89 deletions
|
@ -21,8 +21,10 @@ import org.elasticsearch.common.unit.ByteSizeUnit;
|
|||
import org.elasticsearch.common.unit.ByteSizeValue;
|
||||
import org.elasticsearch.core.CheckedFunction;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
|
@ -105,6 +107,11 @@ public class URLBlobStore implements BlobStore {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteBlobsIgnoringIfNotExists(Iterator<String> blobNames) throws IOException {
|
||||
throw new UnsupportedOperationException("Bulk deletes are not supported in URL repositories");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
// nothing to do here...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue