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 classprotected static classA 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.TypeParserNested classes/interfaces inherited from class org.elasticsearch.index.mapper.Mapper
Mapper.SourceKeepModeNested 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_LOGGERFields inherited from class org.elasticsearch.index.mapper.FieldMapper
builderParams, COERCE_SETTING, deprecationLogger, IGNORE_MALFORMED_SETTING, mappedFieldTypeFields inherited from class org.elasticsearch.index.mapper.Mapper
SYNTHETIC_SOURCE_KEEP_INDEX_SETTING, SYNTHETIC_SOURCE_KEEP_PARAMFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPointGeometryFieldMapper(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, supportsParsingObjectMethods 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, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper
freezeAndDeduplicateFieldType, internFieldName, leafName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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
-