Map Extension

thumbnail
(0)

Version 3.2.0  by WSO2

Category : Siddhi Stream Processor
Supported Product Version : CEP 4.2.0   DAS 3.1.0  

Summary

This extension provides the capability to send a map object inside Siddhi stream definitions and use it inside queries.


Associated Tags

Map-Extension Siddhi

Functions 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.

Social Sites