Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class TimeSeriesIdFieldMapper.TimeSeriesIdBuilder
java.lang.Object
org.elasticsearch.index.mapper.TimeSeriesIdFieldMapper.TimeSeriesIdBuilder
- All Implemented Interfaces:
DocumentDimensions
- Enclosing class:
- TimeSeriesIdFieldMapper
public static class TimeSeriesIdFieldMapper.TimeSeriesIdBuilder
extends Object
implements DocumentDimensions
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.index.mapper.DocumentDimensions
DocumentDimensions.OnlySingleValueAllowed
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIp
(String fieldName, InetAddress value) void
void
This overloaded method tries to take advantage of the fact that the UTF-8 value is already computed in some cases when we want to collect dimensions, so we can save re-computing the UTF-8 encoding.void
addUnsignedLong
(String fieldName, long value) build()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.index.mapper.DocumentDimensions
addString
-
Constructor Details
-
TimeSeriesIdBuilder
-
-
Method Details
-
build
- Throws:
IOException
-
addString
Description copied from interface:DocumentDimensions
This overloaded method tries to take advantage of the fact that the UTF-8 value is already computed in some cases when we want to collect dimensions, so we can save re-computing the UTF-8 encoding.- Specified by:
addString
in interfaceDocumentDimensions
-
addIp
- Specified by:
addIp
in interfaceDocumentDimensions
-
addLong
- Specified by:
addLong
in interfaceDocumentDimensions
-
addUnsignedLong
- Specified by:
addUnsignedLong
in interfaceDocumentDimensions
-