org.elasticsearch.index.mapper
Class ContentPath
java.lang.Object
org.elasticsearch.index.mapper.ContentPath
@NotThreadSafe
public class ContentPath
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentPath
public ContentPath()
ContentPath
public ContentPath(int offset)
- Constructs a json path with an offset. The offset will result an offset
number of path elements to not be included in
pathAsText(String)
.
reset
public void reset()
add
public void add(java.lang.String name)
remove
public void remove()
pathAsText
public java.lang.String pathAsText(java.lang.String name)
fullPathAsText
public java.lang.String fullPathAsText(java.lang.String name)
pathType
public ContentPath.Type pathType()
pathType
public void pathType(ContentPath.Type type)