public class MockFieldMapper extends FieldMapper
Modifier and Type | Class and Description |
---|---|
static class |
MockFieldMapper.FakeFieldType |
FieldMapper.Builder<T extends FieldMapper.Builder,Y extends FieldMapper>, FieldMapper.CopyTo, FieldMapper.MultiFields
Mapper.BuilderContext, Mapper.TypeParser
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
COERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFields
EMPTY_PARAMS
Constructor and Description |
---|
MockFieldMapper(java.lang.String fullName) |
MockFieldMapper(java.lang.String fullName,
MappedFieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
contentType() |
protected void |
parseCreateField(ParseContext context,
java.util.List list) |
clone, copyTo, doMerge, doXContentAnalyzers, doXContentBody, doXContentDocValues, fieldType, indexOptionToString, indexTokenizeOption, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldType
simpleName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public MockFieldMapper(java.lang.String fullName)
public MockFieldMapper(java.lang.String fullName, MappedFieldType fieldType)
protected java.lang.String contentType()
contentType
in class FieldMapper
protected void parseCreateField(ParseContext context, java.util.List list) throws java.io.IOException
parseCreateField
in class FieldMapper
java.io.IOException