Package org.elasticsearch.index.mapper
Class AbstractShapeGeometryFieldMapper<T>
java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.index.mapper.AbstractGeometryFieldMapper<T>
org.elasticsearch.index.mapper.AbstractShapeGeometryFieldMapper<T>
- All Implemented Interfaces:
Cloneable
,Iterable<Mapper>
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
- Direct Known Subclasses:
GeoShapeFieldMapper
,LegacyGeoShapeFieldMapper
Base class for
GeoShapeFieldMapper
and LegacyGeoShapeFieldMapper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested 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.TypeParser
Nested 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
Fields inherited from class org.elasticsearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, hasScript, IGNORE_MALFORMED_SETTING, indexAnalyzers, mappedFieldType, multiFields, onScriptError
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractShapeGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, Map<String,NamedAnalyzer> indexAnalyzers, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> coerce, Explicit<Boolean> ignoreZValue, Explicit<Orientation> orientation, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser)
protected
AbstractShapeGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> coerce, Explicit<Boolean> ignoreZValue, Explicit<Orientation> orientation, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
coerce()
static FieldMapper.Parameter<Explicit<Boolean>>
coerceParam(Function<FieldMapper,Explicit<Boolean>> initializer, boolean coerceByDefault)
static FieldMapper.Parameter<Explicit<Orientation>>
orientationParam(Function<FieldMapper,Explicit<Orientation>> initializer)
Methods inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper
fieldType, ignoreMalformed, ignoreMalformedParam, ignoreZValue, ignoreZValueParam, index, parse, parseCreateField, parsesArrayValue
Methods 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, validate
Methods inherited from class org.elasticsearch.index.mapper.Mapper
simpleName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
coerce
-
orientation
-
-
Constructor Details
-
AbstractShapeGeometryFieldMapper
protected AbstractShapeGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, Map<String,NamedAnalyzer> indexAnalyzers, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> coerce, Explicit<Boolean> ignoreZValue, Explicit<Orientation> orientation, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser) -
AbstractShapeGeometryFieldMapper
protected AbstractShapeGeometryFieldMapper(String simpleName, MappedFieldType mappedFieldType, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> coerce, Explicit<Boolean> ignoreZValue, Explicit<Orientation> orientation, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo, AbstractGeometryFieldMapper.Parser<T> parser)
-
-
Method Details
-
coerceParam
public static FieldMapper.Parameter<Explicit<Boolean>> coerceParam(Function<FieldMapper,Explicit<Boolean>> initializer, boolean coerceByDefault) -
orientationParam
public static FieldMapper.Parameter<Explicit<Orientation>> orientationParam(Function<FieldMapper,Explicit<Orientation>> initializer) -
coerce
public boolean coerce() -
orientation
-