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.ContentPath(java.lang.String path)
-
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 anoffset
number of path elements to not be included inpathAsText(String)
. -
ContentPath
public ContentPath(java.lang.String path)
-
-
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()
-