Class BlobPath

java.lang.Object
org.elasticsearch.common.blobstore.BlobPath
All Implemented Interfaces:
java.lang.Iterable<java.lang.String>

public class BlobPath
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
The list of paths where a blob can reside. The contents of the paths are dependent upon the implementation of BlobContainer.
  • Constructor Summary

    Constructors 
    Constructor Description
    BlobPath()  
  • Method Summary

    Modifier and Type Method Description
    BlobPath add​(java.lang.String path)  
    java.lang.String buildAsString()  
    static BlobPath cleanPath()  
    java.util.Iterator<java.lang.String> iterator()  
    BlobPath parent()
    Returns this path's parent path.
    java.lang.String[] toArray()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

  • Method Details

    • cleanPath

      public static BlobPath cleanPath()
    • iterator

      public java.util.Iterator<java.lang.String> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<java.lang.String>
    • toArray

      public java.lang.String[] toArray()
    • add

      public BlobPath add​(java.lang.String path)
    • buildAsString

      public java.lang.String buildAsString()
    • parent

      @Nullable public BlobPath parent()
      Returns this path's parent path.
      Returns:
      Parent path or null if there is none
    • toString

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