Class EventMap.Builder
java.lang.Object
org.apache.druid.java.util.emitter.core.EventMap.Builder
- Enclosing class:
EventMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns the EventMapAdds key -> value pair to the mapAdds all key -> value pairs from other mapputNonNull(String key, Object value) Adds key -> value pair to the map only if value is not null
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
put
Adds key -> value pair to the map -
putNonNull
Adds key -> value pair to the map only if value is not null -
putAll
Adds all key -> value pairs from other map -
build
Builds and returns the EventMap
-