Class ContentPath

java.lang.Object
org.elasticsearch.index.mapper.ContentPath

public final class ContentPath
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    ContentPath()  
    ContentPath​(int offset)
    Constructs a json path with an offset.
  • Method Summary

    Modifier and Type Method Description
    void add​(java.lang.String name)  
    int length()  
    java.lang.String pathAsText​(java.lang.String name)  
    void remove()  

    Methods inherited from class java.lang.Object

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

    • ContentPath

      public ContentPath()
    • ContentPath

      public ContentPath​(int offset)
      Constructs a json path with an offset. The offset will result an offset number of path elements to not be included in pathAsText(String).
  • Method Details

    • add

      public void add​(java.lang.String name)
    • remove

      public void remove()
    • pathAsText

      public java.lang.String pathAsText​(java.lang.String name)
    • length

      public int length()