Class PropertyMappingUtils
java.lang.Object
org.apache.nifi.processors.pulsar.PropertyMappingUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PropertyMappingUtils
private PropertyMappingUtils()
-
-
Method Details
-
getMappedValues
Given a comma-delimited list of key mappings and a value extraction function, yields a map of "destkey / value" pairs.- Parameters:
mappings- a comma-delimited list of "destkey=srckey" mappings. If no srckey is explicitly specified, then it is assumed that the destkey should also be used as the source key.mapper- a function that, given a source key, should return the corresponding value.- Returns:
- the "destkey / value" map
-