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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.index.mapper.Mapper
Mapper.Builder<T extends Mapper.Builder,Y extends Mapper>, Mapper.BuilderContext, Mapper.TypeParser
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.index.mapper.Mapper
EMPTY_ARRAY
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Method Summary
 boolean includeInObject()
          Should the mapper be included in the root ObjectMapper.
 void postParse(ParseContext context)
           
 void preParse(ParseContext context)
           
 void validate(ParseContext context)
           
 
Methods inherited from interface org.elasticsearch.index.mapper.Mapper
close, merge, name, parse, traverse, traverse
 
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
 

Method Detail

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.