Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class AbstractPointGeometryFieldMapper<T>
java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.index.mapper.AbstractGeometryFieldMapper<T>
org.elasticsearch.index.mapper.AbstractPointGeometryFieldMapper<T>
- All Implemented Interfaces:
- Cloneable,- Iterable<Mapper>,- ToXContent,- ToXContentFragment
- Direct Known Subclasses:
- GeoPointFieldMapper
Base class for spatial fields that only support indexing points
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classA base parser implementation for point formatsNested classes/interfaces inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapperAbstractGeometryFieldMapper.AbstractGeometryFieldType<T>, AbstractGeometryFieldMapper.Parser<T>Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapperFieldMapper.Builder, FieldMapper.Conflicts, FieldMapper.CopyTo, FieldMapper.MergeValidator<T>, FieldMapper.MultiFields, FieldMapper.Parameter<T>, FieldMapper.Serializer<T>, FieldMapper.SerializerCheck<T>, FieldMapper.TypeParserNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
- 
Field SummaryFieldsFields inherited from class org.elasticsearch.index.mapper.FieldMapperCOERCE_SETTING, copyTo, hasScript, IGNORE_MALFORMED_SETTING, mappedFieldType, multiFields, onScriptErrorFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractPointGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.MultiFields multiFields, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> ignoreZValue, T nullValue, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser) protectedAbstractPointGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser, String onScriptError) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> FieldMapper.Parameter<T>nullValueParam(Function<FieldMapper, T> initializer, TriFunction<String, MappingParserContext, Object, T> parser, Supplier<T> def, FieldMapper.Serializer<T> serializer) Methods inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapperfieldType, ignoreMalformed, ignoreMalformedParam, ignoreZValue, ignoreZValueParam, index, parse, parseCreateField, parsesArrayValueMethods inherited from class org.elasticsearch.index.mapper.FieldMappercheckIncomingMergeType, contentType, copyTo, doValidate, doXContentBody, executeScript, getMergeBuilder, hasScript, indexAnalyzers, indexScriptValues, iterator, merge, multiFields, name, notInMultiFields, toXContent, typeName, validateMethods inherited from class org.elasticsearch.index.mapper.MapperinternFieldName, simpleName, syntheticFieldLoader, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliteratorMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragmentisFragment
- 
Field Details- 
nullValue
 
- 
- 
Constructor Details- 
AbstractPointGeometryFieldMapperprotected AbstractPointGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.MultiFields multiFields, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> ignoreZValue, T nullValue, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser) 
- 
AbstractPointGeometryFieldMapperprotected AbstractPointGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser, String onScriptError) 
 
- 
- 
Method Details- 
nullValueParampublic static <T> FieldMapper.Parameter<T> nullValueParam(Function<FieldMapper, T> initializer, TriFunction<String, MappingParserContext, Object, T> parser, Supplier<T> def, FieldMapper.Serializer<T> serializer) 
- 
getNullValue
 
-