- All Known Implementing Classes:
DocumentDimensions.OnlySingleValueAllowed
,TimeSeriesIdFieldMapper.TimeSeriesIdBuilder
public interface DocumentDimensions
Collects dimensions from documents.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Makes sure that each dimension only appears on time. -
Method Summary
Modifier and TypeMethodDescriptionaddIp
(String fieldName, InetAddress value) default 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.addUnsignedLong
(String fieldName, long value) static DocumentDimensions
fromIndexSettings
(IndexSettings indexSettings) Build an index's DocumentDimensions using its settingsvalidate
(IndexSettings settings)
-
Method Details
-
fromIndexSettings
Build an index's DocumentDimensions using its settings -
addString
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. -
addString
-
addIp
-
addLong
-
addUnsignedLong
-
validate
-