org.elasticsearch.index.mapper
Class SourceToParse

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

public class SourceToParse
extends java.lang.Object


Constructor Summary
SourceToParse(byte[] source)
           
SourceToParse(XContentParser parser)
           
 
Method Summary
 boolean flyweight()
           
 SourceToParse flyweight(boolean flyweight)
           
 java.lang.String id()
           
 SourceToParse id(java.lang.String id)
           
 java.lang.String parent()
           
 SourceToParse parent(java.lang.String parentId)
           
 XContentParser parser()
           
 java.lang.String routing()
           
 SourceToParse routing(java.lang.String routing)
           
 byte[] source()
           
static SourceToParse source(byte[] source)
           
static SourceToParse source(XContentParser parser)
           
 java.lang.String type()
           
 SourceToParse type(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceToParse

public SourceToParse(XContentParser parser)

SourceToParse

public SourceToParse(byte[] source)
Method Detail

source

public static SourceToParse source(byte[] source)

source

public static SourceToParse source(XContentParser parser)

parser

public XContentParser parser()

source

public byte[] source()

type

public java.lang.String type()

type

public SourceToParse type(java.lang.String type)

flyweight

public SourceToParse flyweight(boolean flyweight)

flyweight

public boolean flyweight()

id

public java.lang.String id()

id

public SourceToParse id(java.lang.String id)

parent

public java.lang.String parent()

parent

public SourceToParse parent(java.lang.String parentId)

routing

public java.lang.String routing()

routing

public SourceToParse routing(java.lang.String routing)