org.elasticsearch.index.mapper.internal
Class AnalyzerMapper
java.lang.Object
org.elasticsearch.index.mapper.internal.AnalyzerMapper
- All Implemented Interfaces:
- ToXContent, InternalMapper, Mapper, RootMapper
public class AnalyzerMapper
- extends java.lang.Object
- implements Mapper, InternalMapper, RootMapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
CONTENT_TYPE
public static final java.lang.String CONTENT_TYPE
- See Also:
- Constant Field Values
AnalyzerMapper
public AnalyzerMapper()
AnalyzerMapper
public AnalyzerMapper(java.lang.String path)
name
public java.lang.String name()
- Specified by:
name
in interface Mapper
preParse
public void preParse(ParseContext context)
throws java.io.IOException
- Specified by:
preParse
in interface RootMapper
- Throws:
java.io.IOException
postParse
public void postParse(ParseContext context)
throws java.io.IOException
- Specified by:
postParse
in interface RootMapper
- Throws:
java.io.IOException
validate
public void validate(ParseContext context)
throws MapperParsingException
- Specified by:
validate
in interface RootMapper
- Throws:
MapperParsingException
includeInObject
public boolean includeInObject()
- Description copied from interface:
RootMapper
- Should the mapper be included in the root
ObjectMapper
.
- Specified by:
includeInObject
in interface RootMapper
parse
public void parse(ParseContext context)
throws java.io.IOException
- Specified by:
parse
in interface Mapper
- Throws:
java.io.IOException
merge
public void merge(Mapper mergeWith,
MergeContext mergeContext)
throws MergeMappingException
- Specified by:
merge
in interface Mapper
- Throws:
MergeMappingException
traverse
public void traverse(FieldMapperListener fieldMapperListener)
- Specified by:
traverse
in interface Mapper
traverse
public void traverse(ObjectMapperListener objectMapperListener)
- Specified by:
traverse
in interface Mapper
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
java.io.IOException
close
public void close()
- Specified by:
close
in interface Mapper