org.elasticsearch.common.blobstore.support
Class AbstractBlobContainer
java.lang.Object
org.elasticsearch.common.blobstore.support.AbstractBlobContainer
- All Implemented Interfaces:
- BlobContainer
- Direct Known Subclasses:
- AbstractFsBlobContainer
public abstract class AbstractBlobContainer
- extends java.lang.Object
- implements BlobContainer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBlobContainer
protected AbstractBlobContainer(BlobPath path)
path
public BlobPath path()
- Specified by:
path
in interface BlobContainer
readBlobFully
public byte[] readBlobFully(java.lang.String blobName)
throws java.io.IOException
- Specified by:
readBlobFully
in interface BlobContainer
- Throws:
java.io.IOException
listBlobsByPrefix
public org.elasticsearch.common.collect.ImmutableMap<java.lang.String,BlobMetaData> listBlobsByPrefix(java.lang.String blobNamePrefix)
throws java.io.IOException
- Specified by:
listBlobsByPrefix
in interface BlobContainer
- Throws:
java.io.IOException
deleteBlobsByPrefix
public void deleteBlobsByPrefix(java.lang.String blobNamePrefix)
throws java.io.IOException
- Specified by:
deleteBlobsByPrefix
in interface BlobContainer
- Throws:
java.io.IOException
deleteBlobsByFilter
public void deleteBlobsByFilter(BlobContainer.BlobNameFilter filter)
throws java.io.IOException
- Specified by:
deleteBlobsByFilter
in interface BlobContainer
- Throws:
java.io.IOException