Package org.elasticsearch.index.mapper
Class SourceToParse
- java.lang.Object
-
- org.elasticsearch.index.mapper.SourceToParse
-
public class SourceToParse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceToParse.Origin
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XContentTypegetXContentType()java.lang.Stringid()java.lang.Stringindex()java.lang.Stringparent()SourceToParseparent(java.lang.String parentId)java.lang.Stringrouting()SourceToParserouting(java.lang.String routing)BytesReferencesource()static SourceToParsesource(java.lang.String index, java.lang.String type, java.lang.String id, BytesReference source, XContentType contentType)java.lang.Stringtype()
-
-
-
Method Detail
-
source
public static SourceToParse source(java.lang.String index, java.lang.String type, java.lang.String id, BytesReference source, XContentType contentType)
-
source
public BytesReference source()
-
index
public java.lang.String index()
-
type
public java.lang.String type()
-
id
public java.lang.String id()
-
parent
public java.lang.String parent()
-
parent
public SourceToParse parent(java.lang.String parentId)
-
routing
public java.lang.String routing()
-
getXContentType
public XContentType getXContentType()
-
routing
public SourceToParse routing(java.lang.String routing)
-
-