org.elasticsearch.index.mapper
Class ContentPath
java.lang.Object
org.elasticsearch.index.mapper.ContentPath
public class ContentPath
- extends 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(String name)
remove
public void remove()
pathAsText
public String pathAsText(String name)
fullPathAsText
public String fullPathAsText(String name)
pathType
public ContentPath.Type pathType()
pathType
public void pathType(ContentPath.Type type)
sourcePath
public String sourcePath(String sourcePath)
sourcePath
public String sourcePath()
Copyright © 2009-2012. All Rights Reserved.