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 -
Constructor Summary
Constructors Constructor Description SourceToParse(java.lang.String index, java.lang.String type, java.lang.String id, BytesReference source, org.elasticsearch.common.xcontent.XContentType xContentType)SourceToParse(java.lang.String index, java.lang.String type, java.lang.String id, BytesReference source, org.elasticsearch.common.xcontent.XContentType xContentType, java.lang.String routing, java.util.Map<java.lang.String,java.lang.String> dynamicTemplates) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>dynamicTemplates()Returns a map from the full path (i.e.org.elasticsearch.common.xcontent.XContentTypegetXContentType()java.lang.Stringid()java.lang.Stringindex()java.lang.Stringrouting()BytesReferencesource()java.lang.Stringtype()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SourceToParse
public SourceToParse(java.lang.String index, java.lang.String type, java.lang.String id, BytesReference source, org.elasticsearch.common.xcontent.XContentType xContentType, @Nullable java.lang.String routing, java.util.Map<java.lang.String,java.lang.String> dynamicTemplates) -
SourceToParse
public SourceToParse(java.lang.String index, java.lang.String type, java.lang.String id, BytesReference source, org.elasticsearch.common.xcontent.XContentType xContentType)
-
-
Method Details
-
source
-
index
public java.lang.String index() -
type
public java.lang.String type() -
id
public java.lang.String id() -
routing
@Nullable public java.lang.String routing() -
dynamicTemplates
public java.util.Map<java.lang.String,java.lang.String> dynamicTemplates()Returns a map from the full path (i.e. foo.bar) of field names to the names of dynamic mapping templates. -
getXContentType
public org.elasticsearch.common.xcontent.XContentType getXContentType()
-