Class PlainBlobMetaData
- java.lang.Object
-
- org.elasticsearch.common.blobstore.support.PlainBlobMetaData
-
- All Implemented Interfaces:
BlobMetaData
public class PlainBlobMetaData extends Object implements BlobMetaData
-
-
Constructor Summary
Constructors Constructor Description PlainBlobMetaData(String name, long length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longlength()Gets the size of the blob in bytes.Stringname()Gets the name of the blob.StringtoString()
-
-
-
Constructor Detail
-
PlainBlobMetaData
public PlainBlobMetaData(String name, long length)
-
-
Method Detail
-
name
public String name()
Description copied from interface:BlobMetaDataGets the name of the blob.- Specified by:
namein interfaceBlobMetaData
-
length
public long length()
Description copied from interface:BlobMetaDataGets the size of the blob in bytes.- Specified by:
lengthin interfaceBlobMetaData
-
-