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 void
add(java.lang.String name)
int
length()
java.lang.String
pathAsText(java.lang.String name)
void
remove()
-
Constructor Details
-
ContentPath
public ContentPath() -
ContentPath
public ContentPath(int offset)Constructs a json path with an offset. The offset will result anoffset
number 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()
-