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>,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
- Direct Known Subclasses:
GeoPointFieldMapper
Base class for for spatial fields that only support indexing points
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classA base parser implementation for point formatsNested classes/interfaces inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper
AbstractGeometryFieldMapper.AbstractGeometryFieldType<T>, AbstractGeometryFieldMapper.Parser<T>Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper
FieldMapper.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.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
FieldsFields inherited from class org.elasticsearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, hasScript, IGNORE_MALFORMED_SETTING, indexAnalyzers, mappedFieldType, multiFields, onScriptErrorFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPointGeometryFieldMapper(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 Summary
Modifier and TypeMethodDescriptionstatic <T> FieldMapper.Parameter<T>nullValueParam(Function<FieldMapper,T> initializer, TriFunction<String,MappingParserContext,Object,T> parser, Supplier<T> def)Methods inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper
fieldType, ignoreMalformed, ignoreMalformedParam, ignoreZValue, ignoreZValueParam, index, parse, parseCreateField, parsesArrayValueMethods inherited from class org.elasticsearch.index.mapper.FieldMapper
checkIncomingMergeType, contentType, copyTo, doValidate, doXContentBody, executeScript, getMergeBuilder, hasScript, indexAnalyzers, indexScriptValues, iterator, merge, multiFields, name, notInMultiFields, toXContent, typeName, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper
simpleNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
nullValue
-
-
Constructor Details
-
AbstractPointGeometryFieldMapper
protected AbstractPointGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.MultiFields multiFields, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> ignoreZValue, T nullValue, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser) -
AbstractPointGeometryFieldMapper
protected AbstractPointGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser, String onScriptError)
-
-
Method Details
-
nullValueParam
public static <T> FieldMapper.Parameter<T> nullValueParam(Function<FieldMapper,T> initializer, TriFunction<String,MappingParserContext,Object,T> parser, Supplier<T> def) -
getNullValue
-