- All Known Implementing Classes:
DocumentDimensions.OnlySingleValueAllowed,TimeSeriesIdFieldMapper.TimeSeriesIdBuilder
public interface DocumentDimensions
Collects dimensions from documents.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classMakes sure that each dimension only appears on time. -
Method Summary
Modifier and TypeMethodDescriptionaddIp(String fieldName, InetAddress value) default DocumentDimensionsThis 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 DocumentDimensionsfromIndexSettings(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
-