The siddhi-execution-map extension is a Siddhi extension that provides capability to generate and manipulate map (key-value) data objects.
For information on Siddhi and it's features refer Siddhi Documentation.
- Versions 5.x and above with group id
io.siddhi.extension.*
from here. - Versions 4.x and lower with group id
org.wso2.extension.siddhi.*
from here.
Latest API Docs is 5.0.4.
- create (Function)
Function creates a map pairing the keys and their corresponding values.
- createFromJSON (Function)
Function returns the map created by pairing the keys with their corresponding values given in the JSON string.
- createFromXML (Function)
Function returns the map created by pairing the keys with their corresponding values,given as an XML string.
- get (Function)
Function returns the value corresponding to the given key from the map.
- isMap (Function)
Function checks if the object is type of a map.
- put (Function)
Function returns the updated map after adding the given key-value pair. If the key already exist in the map the key is updated with the new value.
- putAll (Function)
Function returns the updated map after adding all the key-value pairs from another map. If there are duplicate keys, the key will be assigned new values from the map that's being copied.
- remove (Function)
Function returns the updated map after removing the element with the specified key.
- toJSON (Function)
Function converts a map into a JSON object and returns the JSON as a string.
- toXML (Function)
Function returns the map as an XML string.
There are no other dependencies needed for this extension.
For installing this extension on various siddhi execution environments refer Siddhi documentation section on adding extensions.
-
We encourage users to ask questions and get support via StackOverflow, make sure to add the
siddhi
tag to the issue for better response. -
If you find any issues related to the extension please report them on the issue tracker.
-
For production support and other contribution related information refer Siddhi Community documentation.