Package org.opensearch.index.mapper
Class ContentPath
java.lang.Object
org.opensearch.index.mapper.ContentPath
JSON Path for a document / field
- Opensearch.api:
-
Constructor Summary
ConstructorDescriptionContentPath
(int offset) Constructs a json path with an offset.ContentPath
(String path) -
Method Summary
-
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() -
pathAsText
-
length
public int length()
-