Package org.elasticsearch.index.mapper
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 voidadd(java.lang.String name)intlength()java.lang.StringpathAsText(java.lang.String name)voidremove()
-
Constructor Details
-
ContentPath
public ContentPath() -
ContentPath
public ContentPath(int offset)Constructs a json path with an offset. The offset will result anoffsetnumber of path elements to not be included inpathAsText(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()
-