public class StandardNumberMapper extends Object implements org.elasticsearch.index.mapper.Mapper
Modifier and Type | Class and Description |
---|---|
static class |
StandardNumberMapper.Builder |
static class |
StandardNumberMapper.TypeParser |
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE |
Constructor and Description |
---|
StandardNumberMapper(String name,
Detector detector,
org.elasticsearch.index.mapper.core.StringFieldMapper contentMapper,
org.elasticsearch.index.mapper.core.StringFieldMapper stdnumMapper) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
merge(org.elasticsearch.index.mapper.Mapper mergeWith,
org.elasticsearch.index.mapper.MergeContext mergeContext) |
String |
name() |
void |
parse(org.elasticsearch.index.mapper.ParseContext context) |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
void |
traverse(org.elasticsearch.index.mapper.FieldMapperListener fieldMapperListener) |
void |
traverse(org.elasticsearch.index.mapper.ObjectMapperListener objectMapperListener) |
public static final String CONTENT_TYPE
public StandardNumberMapper(String name, Detector detector, org.elasticsearch.index.mapper.core.StringFieldMapper contentMapper, org.elasticsearch.index.mapper.core.StringFieldMapper stdnumMapper)
public void parse(org.elasticsearch.index.mapper.ParseContext context) throws IOException
parse
in interface org.elasticsearch.index.mapper.Mapper
IOException
public void merge(org.elasticsearch.index.mapper.Mapper mergeWith, org.elasticsearch.index.mapper.MergeContext mergeContext) throws org.elasticsearch.index.mapper.MergeMappingException
merge
in interface org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.MergeMappingException
public void traverse(org.elasticsearch.index.mapper.FieldMapperListener fieldMapperListener)
traverse
in interface org.elasticsearch.index.mapper.Mapper
public void traverse(org.elasticsearch.index.mapper.ObjectMapperListener objectMapperListener)
traverse
in interface org.elasticsearch.index.mapper.Mapper
public void close()
close
in interface org.elasticsearch.index.mapper.Mapper
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
toXContent
in interface org.elasticsearch.common.xcontent.ToXContent
IOException
Copyright © 2013–2014. All rights reserved.