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 TypeMethodDescriptionvoid
boolean
atRoot()
boolean
int
length()
pathAsText
(String name) void
remove()
void
setWithinLeafObject
(boolean withinLeafObject)
-
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
-
-
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()
-