org.elasticsearch.index.mapper
Interface RootMapper
- All Superinterfaces:
- Mapper, ToXContent
- All Known Implementing Classes:
- AllFieldMapper, AnalyzerMapper, BoostFieldMapper, IdFieldMapper, IndexFieldMapper, ParentFieldMapper, RoutingFieldMapper, SizeFieldMapper, SourceFieldMapper, TimestampFieldMapper, TTLFieldMapper, TypeFieldMapper, UidFieldMapper
public interface RootMapper
- extends Mapper
A mapper that exists only as a mapper within a root object.
preParse
void preParse(ParseContext context)
throws IOException
- Throws:
IOException
postParse
void postParse(ParseContext context)
throws IOException
- Throws:
IOException
validate
void validate(ParseContext context)
throws MapperParsingException
- Throws:
MapperParsingException
includeInObject
boolean includeInObject()
- Should the mapper be included in the root
ObjectMapper
.
Copyright © 2009-2012. All Rights Reserved.