Siddhi Execution List
The siddhi-execution-list extension is a Siddhi extension that provides capability to generate and manipulate list data objects.
For information on Siddhi and it's features refer Siddhi Documentation.
Download
- Versions with group id
io.siddhi.extension.*
from here.
Latest API Docs
Latest API Docs is 1.0.1.
Features
- collect (Aggregate Function)
Collects multiple values to construct a list.
- merge (Aggregate Function)
Collects multiple lists to merge as a single list.
- add (Function)
Function returns the updated list after adding the given value.
- addAll (Function)
Function returns the updated list after adding all the values from the given list.
- clear (Function)
Function returns the cleared list.
- clone (Function)
Function returns the cloned list.
- contains (Function)
Function checks whether the list contains the specific value.
- containsAll (Function)
Function checks whether the list contains all the values in the given list.
- create (Function)
Function creates a list containing all values provided.
- get (Function)
Function returns the value at the specific index, null if index is out of range.
- indexOf (Function)
Function returns the last index of the given element.
- isEmpty (Function)
Function checks if the list is empty.
- isList (Function)
Function checks if the object is type of a list.
- lastIndexOf (Function)
Function returns the index of the given value.
- remove (Function)
Function returns the updated list after removing the element with the specified value.
- removeAll (Function)
Function returns the updated list after removing all the element with the specified list.
- removeByIndex (Function)
Function returns the updated list after removing the element with the specified index.
- retainAll (Function)
Function returns the updated list after retaining all the elements in the specified list.
- setValue (Function)
Function returns the updated list after replacing the element in the given index by the given value.
- size (Function)
Function to return the size of the list.
- sort (Function)
Function returns lists sorted in ascending or descending order.
- tokenize (Stream Processor)
Tokenize the list and return each key, value as new attributes in events
Dependencies
There are no other dependencies needed for this extension.
Installation
For installing this extension on various Siddhi execution environments refer Siddhi documentation section on adding extensions.
Support and Contribution
-
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.