java.lang.Object
org.elasticsearch.index.mapper.ContentPath
-
Constructor Summary
ConstructorsConstructorDescriptionContentPath(int offset) Constructs a json path with an offset.ContentPath(String path) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanatRoot()booleanintlength()pathAsText(String name) voidremove()voidsetWithinLeafObject(boolean withinLeafObject)
-
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). -
ContentPath
-
-
Method Details
-
add
-
remove
public void remove() -
setWithinLeafObject
public void setWithinLeafObject(boolean withinLeafObject) -
isWithinLeafObject
public boolean isWithinLeafObject() -
pathAsText
-
length
public int length() -
atRoot
public boolean atRoot()
-