Package org.elasticsearch.index.mapper
Class SourceToParse
- java.lang.Object
-
- org.elasticsearch.index.mapper.SourceToParse
-
public class SourceToParse extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceToParse.Origin
-
Constructor Summary
Constructors Constructor Description SourceToParse(String index, String type, String id, BytesReference source, XContentType xContentType)SourceToParse(String index, String type, String id, BytesReference source, XContentType xContentType, String routing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XContentTypegetXContentType()Stringid()Stringindex()Stringrouting()BytesReferencesource()Stringtype()
-
-
-
Constructor Detail
-
SourceToParse
public SourceToParse(String index, String type, String id, BytesReference source, XContentType xContentType, @Nullable String routing)
-
SourceToParse
public SourceToParse(String index, String type, String id, BytesReference source, XContentType xContentType)
-
-
Method Detail
-
source
public BytesReference source()
-
index
public String index()
-
type
public String type()
-
id
public String id()
-
getXContentType
public XContentType getXContentType()
-
-