org.elasticsearch.index.mapper.xcontent
Class AnalyzerMapper

java.lang.Object
  extended by org.elasticsearch.index.mapper.xcontent.AnalyzerMapper
All Implemented Interfaces:
ToXContent, XContentMapper

public class AnalyzerMapper
extends java.lang.Object
implements XContentMapper


Nested Class Summary
static class AnalyzerMapper.Builder
           
static class AnalyzerMapper.Defaults
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.index.mapper.xcontent.XContentMapper
XContentMapper.BuilderContext, XContentMapper.TypeParser
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
static java.lang.String CONTENT_TYPE
           
 
Fields inherited from interface org.elasticsearch.index.mapper.xcontent.XContentMapper
EMPTY_ARRAY
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
AnalyzerMapper()
           
AnalyzerMapper(java.lang.String path)
           
 
Method Summary
 void merge(XContentMapper mergeWith, MergeContext mergeContext)
           
 java.lang.String name()
           
 void parse(ParseContext context)
           
 void toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void traverse(FieldMapperListener fieldMapperListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE

public static final java.lang.String CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

AnalyzerMapper

public AnalyzerMapper()

AnalyzerMapper

public AnalyzerMapper(java.lang.String path)
Method Detail

name

public java.lang.String name()
Specified by:
name in interface XContentMapper

parse

public void parse(ParseContext context)
           throws java.io.IOException
Specified by:
parse in interface XContentMapper
Throws:
java.io.IOException

merge

public void merge(XContentMapper mergeWith,
                  MergeContext mergeContext)
           throws MergeMappingException
Specified by:
merge in interface XContentMapper
Throws:
MergeMappingException

traverse

public void traverse(FieldMapperListener fieldMapperListener)
Specified by:
traverse in interface XContentMapper

toXContent

public void toXContent(XContentBuilder builder,
                       ToXContent.Params params)
                throws java.io.IOException
Specified by:
toXContent in interface ToXContent
Throws:
java.io.IOException