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 class
SourceToParse.Origin
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XContentType
getXContentType()
java.lang.String
id()
java.lang.String
index()
java.lang.String
routing()
SourceToParse
routing(java.lang.String routing)
BytesReference
source()
static SourceToParse
source(java.lang.String index, java.lang.String type, java.lang.String id, BytesReference source, XContentType contentType)
java.lang.String
type()
-
-
-
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()
-
routing
public java.lang.String routing()
-
getXContentType
public XContentType getXContentType()
-
routing
public SourceToParse routing(java.lang.String routing)
-
-