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

    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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PlainBlobMetaData

      public PlainBlobMetaData​(java.lang.String name, long length)
  • Method Details

    • name

      public java.lang.String name()
      Description copied from interface: BlobMetaData
      Gets the name of the blob.
      Specified by:
      name in interface BlobMetaData
    • length

      public long length()
      Description copied from interface: BlobMetaData
      Gets the size of the blob in bytes.
      Specified by:
      length in interface BlobMetaData
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object