Module org.elasticsearch.xcore
Class TDigestFieldMapper
java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.xpack.core.analytics.mapper.TDigestFieldMapper
- All Implemented Interfaces:
Iterable<Mapper>,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentFragment
Field Mapper for pre-aggregated histograms.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper
FieldMapper.BuilderParams, FieldMapper.Conflicts, FieldMapper.CopyTo, FieldMapper.DimensionBuilder, FieldMapper.DocValuesParameter, FieldMapper.MergeValidator<T>, FieldMapper.MultiFields, FieldMapper.Parameter<T>, FieldMapper.Serializer<T>, FieldMapper.SerializerCheck<T>, FieldMapper.SyntheticSourceMode, FieldMapper.SyntheticSourceSupport, FieldMapper.TextFamilyBuilder, FieldMapper.TypeParserNested classes/interfaces inherited from class org.elasticsearch.index.mapper.Mapper
Mapper.IgnoreAbove, Mapper.SourceKeepModeNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final FieldMapper.TypeParserFields 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
ConstructorsConstructorDescriptionTDigestFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.BuilderParams builderParams, TDigestFieldMapper.Builder builder) -
Method Summary
Modifier and TypeMethodDescriptiondoubleprotected Stringbooleanvoidparse(DocumentParserContext context) protected voidparseCreateField(DocumentParserContext context) protected booleanprotected FieldMapper.SyntheticSourceSupportMethods inherited from class org.elasticsearch.index.mapper.FieldMapper
checkIncomingMergeType, copyTo, createTypeParserWithLegacySupport, doParseMultiFields, doValidate, doXContentBody, executeScript, fieldType, fullPath, getTotalFieldsCount, hasScript, indexAnalyzers, indexScriptValues, iterator, multiFields, multiFieldsIterator, notFromDynamicTemplates, notInMultiFields, parsesArrayValue, sourceKeepMode, sourcePathUsedBy, syntheticFieldLoader, syntheticVectorsLoader, throwIndexingWithScriptParam, toXContent, typeName, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper
freezeAndDeduplicateFieldType, getOffsetFieldName, internFieldName, leafName, supportStoringArrayOffsets, 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
-
CENTROIDS_NAME
- See Also:
-
COUNTS_NAME
- See Also:
-
CONTENT_TYPE
- See Also:
-
PARSER
-
-
Constructor Details
-
TDigestFieldMapper
public TDigestFieldMapper(String simpleName, MappedFieldType mappedFieldType, FieldMapper.BuilderParams builderParams, TDigestFieldMapper.Builder builder)
-
-
Method Details
-
ignoreMalformed
public boolean ignoreMalformed()- Overrides:
ignoreMalformedin classFieldMapper
-
digestType
-
compression
public double compression() -
contentType
- Specified by:
contentTypein classFieldMapper
-
getMergeBuilder
- Specified by:
getMergeBuilderin classFieldMapper
-
parseCreateField
- Specified by:
parseCreateFieldin classFieldMapper
-
supportsParsingObject
protected boolean supportsParsingObject()- Overrides:
supportsParsingObjectin classFieldMapper
-
parse
- Overrides:
parsein classFieldMapper- Throws:
IOException
-
syntheticSourceSupport
- Overrides:
syntheticSourceSupportin classFieldMapper
-