public class RootObjectMapper extends ObjectMapper
Modifier and Type | Class and Description |
---|---|
static class |
RootObjectMapper.Builder |
static class |
RootObjectMapper.Defaults |
static class |
RootObjectMapper.TypeParser |
ObjectMapper.Dynamic, ObjectMapper.Nested
Mapper.BuilderContext
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
CONTENT_TYPE, NESTED_CONTENT_TYPE
EMPTY_ARRAY
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowValue() |
boolean |
dateDetection() |
protected void |
doMerge(ObjectMapper mergeWith,
MergeContext mergeContext) |
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
FormatDateTimeFormatter[] |
dynamicDateTimeFormatters() |
DynamicTemplate |
findTemplate(ContentPath path,
String name,
String matchType) |
Mapper.Builder |
findTemplateBuilder(ParseContext context,
String name,
String dynamicType) |
Mapper.Builder |
findTemplateBuilder(ParseContext context,
String name,
String dynamicType,
String matchType) |
boolean |
numericDetection() |
close, dynamic, fullPath, includeInAll, includeInAllIfNotSet, merge, name, nested, nestedTypeFilter, nestedTypePathAsString, parse, parseDynamicValue, putMapper, toXContent, toXContent, traverse, traverse, unsetIncludeInAll
public boolean dateDetection()
public boolean numericDetection()
public FormatDateTimeFormatter[] dynamicDateTimeFormatters()
public Mapper.Builder findTemplateBuilder(ParseContext context, String name, String dynamicType)
public Mapper.Builder findTemplateBuilder(ParseContext context, String name, String dynamicType, String matchType)
public DynamicTemplate findTemplate(ContentPath path, String name, String matchType)
protected boolean allowValue()
allowValue
in class ObjectMapper
protected void doMerge(ObjectMapper mergeWith, MergeContext mergeContext)
doMerge
in class ObjectMapper
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent
in class ObjectMapper
IOException
Copyright © 2009–2015. All rights reserved.