org.elasticsearch.common.blobstore
Interface BlobContainer
- All Known Subinterfaces:
- ImmutableBlobContainer
- All Known Implementing Classes:
- AbstractBlobContainer, AbstractFsBlobContainer, FsImmutableBlobContainer
public interface BlobContainer
path
BlobPath path()
blobExists
boolean blobExists(String blobName)
readBlob
void readBlob(String blobName,
BlobContainer.ReadBlobListener listener)
readBlobFully
byte[] readBlobFully(String blobName)
throws IOException
- Throws:
IOException
deleteBlob
boolean deleteBlob(String blobName)
throws IOException
- Throws:
IOException
deleteBlobsByPrefix
void deleteBlobsByPrefix(String blobNamePrefix)
throws IOException
- Throws:
IOException
deleteBlobsByFilter
void deleteBlobsByFilter(BlobContainer.BlobNameFilter filter)
throws IOException
- Throws:
IOException
listBlobs
com.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobs()
throws IOException
- Throws:
IOException
listBlobsByPrefix
com.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobsByPrefix(String blobNamePrefix)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.