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