java.lang.Cloneable, java.lang.Iterable<Mapper>, ToXContent, ToXContentFragmentpublic class MockFieldMapper extends FieldMapper
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MockFieldMapper.FakeFieldType |
FieldMapper.Builder<T extends FieldMapper.Builder,Y extends FieldMapper>, FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContext, Mapper.TypeParserToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsCOERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFieldsEMPTY_PARAMS| Constructor | Description |
|---|---|
MockFieldMapper(java.lang.String fullName) |
|
MockFieldMapper(java.lang.String fullName,
MappedFieldType fieldType) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.String |
contentType() |
|
protected void |
parseCreateField(ParseContext context,
java.util.List list) |
clone, copyTo, createFieldNamesField, doMerge, doXContentAnalyzers, doXContentBody, doXContentDocValues, fieldType, indexOptionToString, indexTokenizeOption, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldTypesimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic MockFieldMapper(java.lang.String fullName)
public MockFieldMapper(java.lang.String fullName,
MappedFieldType fieldType)
protected java.lang.String contentType()
contentType in class FieldMapperprotected void parseCreateField(ParseContext context, java.util.List list) throws java.io.IOException
parseCreateField in class FieldMapperjava.io.IOException