Package org.opensearch.index.mapper
Class MockFieldMapper
java.lang.Object
org.opensearch.index.mapper.Mapper
org.opensearch.index.mapper.FieldMapper
org.opensearch.index.mapper.ParametrizedFieldMapper
org.opensearch.index.mapper.MockFieldMapper
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Iterable<org.opensearch.index.mapper.Mapper>,org.opensearch.common.xcontent.ToXContent,org.opensearch.common.xcontent.ToXContentFragment
public class MockFieldMapper
extends org.opensearch.index.mapper.ParametrizedFieldMapper
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMockFieldMapper.Builderstatic classMockFieldMapper.FakeFieldTypeNested classes/interfaces inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper
org.opensearch.index.mapper.ParametrizedFieldMapper.Parameter<T extends java.lang.Object>, org.opensearch.index.mapper.ParametrizedFieldMapper.Serializer<T extends java.lang.Object>, org.opensearch.index.mapper.ParametrizedFieldMapper.SerializerCheck<T extends java.lang.Object>, org.opensearch.index.mapper.ParametrizedFieldMapper.TypeParserNested classes/interfaces inherited from class org.opensearch.index.mapper.FieldMapper
org.opensearch.index.mapper.FieldMapper.CopyTo, org.opensearch.index.mapper.FieldMapper.MultiFields -
Field Summary
-
Constructor Summary
Constructors Constructor Description MockFieldMapper(java.lang.String fullName)MockFieldMapper(java.lang.String fullName, org.opensearch.index.mapper.MappedFieldType fieldType, org.opensearch.index.mapper.FieldMapper.MultiFields multifields, org.opensearch.index.mapper.FieldMapper.CopyTo copyTo)MockFieldMapper(org.opensearch.index.mapper.MappedFieldType fieldType) -
Method Summary
Modifier and Type Method Description protected java.lang.StringcontentType()org.opensearch.index.mapper.ParametrizedFieldMapper.BuildergetMergeBuilder()protected voidparseCreateField(org.opensearch.index.mapper.ParseContext context)Methods inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper
doXContentBody, merge, mergeOptionsMethods inherited from class org.opensearch.index.mapper.FieldMapper
clone, copyTo, createFieldNamesField, docValuesByDefault, doValidate, doXContentAnalyzers, fieldType, indexedByDefault, indexOptionToString, iterator, multiFields, name, parse, parsesArrayValue, storedByDefault, toXContent, typeName, validate
-
Constructor Details
-
MockFieldMapper
public MockFieldMapper(java.lang.String fullName) -
MockFieldMapper
public MockFieldMapper(org.opensearch.index.mapper.MappedFieldType fieldType) -
MockFieldMapper
public MockFieldMapper(java.lang.String fullName, org.opensearch.index.mapper.MappedFieldType fieldType, org.opensearch.index.mapper.FieldMapper.MultiFields multifields, org.opensearch.index.mapper.FieldMapper.CopyTo copyTo)
-
-
Method Details
-
getMergeBuilder
public org.opensearch.index.mapper.ParametrizedFieldMapper.Builder getMergeBuilder()- Specified by:
getMergeBuilderin classorg.opensearch.index.mapper.ParametrizedFieldMapper
-
contentType
protected java.lang.String contentType()- Specified by:
contentTypein classorg.opensearch.index.mapper.FieldMapper
-
parseCreateField
protected void parseCreateField(org.opensearch.index.mapper.ParseContext context)- Specified by:
parseCreateFieldin classorg.opensearch.index.mapper.FieldMapper
-