org.elasticsearch.index.mapper
Class ContentPath

java.lang.Object
  extended by org.elasticsearch.index.mapper.ContentPath

public class ContentPath
extends Object


Nested Class Summary
static class ContentPath.Type
           
 
Constructor Summary
ContentPath()
           
ContentPath(int offset)
          Constructs a json path with an offset.
 
Method Summary
 void add(String name)
           
 String fullPathAsText(String name)
           
 String pathAsText(String name)
           
 ContentPath.Type pathType()
           
 void pathType(ContentPath.Type type)
           
 void remove()
           
 void reset()
           
 String sourcePath()
           
 String sourcePath(String sourcePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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).

Method Detail

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.