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:
Iterable<Mapper>
,ToXContent
,ToXContentFragment
- Direct Known Subclasses:
GeoPointFieldMapper
Base class for spatial fields that only support indexing points
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
protected static class
A base parser implementation for point formatsNested classes/interfaces inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper
AbstractGeometryFieldMapper.AbstractGeometryFieldType<T>, AbstractGeometryFieldMapper.DefaultMalformedValueHandler, AbstractGeometryFieldMapper.MalformedValueHandler, AbstractGeometryFieldMapper.NoopMalformedValueHandler, AbstractGeometryFieldMapper.Parser<T>
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper
FieldMapper.Builder, FieldMapper.BuilderParams, FieldMapper.Conflicts, FieldMapper.CopyTo, FieldMapper.DimensionBuilder, FieldMapper.MergeValidator<T>, FieldMapper.MultiFields, FieldMapper.Parameter<T>, FieldMapper.Serializer<T>, FieldMapper.SerializerCheck<T>, FieldMapper.SyntheticSourceMode, FieldMapper.SyntheticSourceSupport, FieldMapper.TypeParser
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.Mapper
Mapper.SourceKeepMode
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
FieldsFields inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper
DEPRECATION_LOGGER
Fields inherited from class org.elasticsearch.index.mapper.FieldMapper
builderParams, COERCE_SETTING, deprecationLogger, IGNORE_MALFORMED_SETTING, mappedFieldType
Fields inherited from class org.elasticsearch.index.mapper.Mapper
SYNTHETIC_SOURCE_KEEP_INDEX_SETTING, SYNTHETIC_SOURCE_KEEP_PARAM
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractPointGeometryFieldMapper
(String simpleName, MappedFieldType mappedFieldType, FieldMapper.BuilderParams builderParams, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> ignoreZValue, T nullValue, AbstractGeometryFieldMapper.Parser<T> parser) -
Method Summary
Modifier 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.AbstractGeometryFieldMapper
fieldType, ignoreMalformed, ignoreMalformedParam, ignoreZValue, ignoreZValueParam, index, onMalformedValue, parse, parseCreateField, parsesArrayValue, supportsParsingObject
Methods inherited from class org.elasticsearch.index.mapper.FieldMapper
checkIncomingMergeType, contentType, copyTo, createTypeParserWithLegacySupport, doValidate, doXContentBody, executeScript, fullPath, getMergeBuilder, getTotalFieldsCount, hasScript, indexAnalyzers, indexScriptValues, iterator, merge, multiFields, multiFieldsIterator, notFromDynamicTemplates, notInMultiFields, sourceKeepMode, sourcePathUsedBy, syntheticFieldLoader, syntheticSourceSupport, toXContent, typeName, validate
Methods inherited from class org.elasticsearch.index.mapper.Mapper
freezeAndDeduplicateFieldType, internFieldName, leafName, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
nullValue
-
-
Constructor Details
-
AbstractPointGeometryFieldMapper
protected AbstractPointGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.BuilderParams builderParams, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> ignoreZValue, T nullValue, AbstractGeometryFieldMapper.Parser<T> parser)
-
-
Method Details
-
nullValueParam
public static <T> FieldMapper.Parameter<T> nullValueParam(Function<FieldMapper, T> initializer, TriFunction<String, MappingParserContext, Object, T> parser, Supplier<T> def, FieldMapper.Serializer<T> serializer) -
getNullValue
-