map

thumbnail
(0)

Version 4.1.0  by WSO2

Category : Siddhi Execution
Supported Product Version : SP 4.0.0 SP 4.1.0 SP 4.2.0 SP 4.3.0 SP 4.4.0  

Summary

The siddhi-execution-map extension is an extension to Siddhi that provides the capability to send a map object inside Siddhi stream definitions and use it inside queries. The following are the functions of the map extension.


Associated Tags

map siddhi siddhi-execution

Features provided by map extension


  • Create function

    Returns the created map object.
  • Get function

    Returns the value object from the map that is related to the given key.
  • Is Map function

    Returns true if the object is a map or false otherwise.
  • Put function

    Returns the updated map after adding the given key-value pair.
  • Create from JSON function

    Returns the map created with the key values pairs given in the JSONstring.
  • Create from XML function

    Returns the map created with the key values pairs given in the XMLstring.
  • To JSON function

    Converts a map into a JSON object and returns the definition of that JSON object as a string.
  • To XML function

    Returns the map as an XML string.

Extension


Social Sites