Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siddhi-io/siddhi-execution-list

Extension that provides the capability to send an array object inside Siddhi stream definitions and use it within queries
https://github.com/siddhi-io/siddhi-execution-list

execution extension list siddhi

Last synced: about 1 month ago
JSON representation

Extension that provides the capability to send an array object inside Siddhi stream definitions and use it within queries

Awesome Lists containing this project

README

        

Siddhi Execution List
======================================

[![Jenkins Build Status](https://wso2.org/jenkins/job/siddhi/job/siddhi-execution-list/badge/icon)](https://wso2.org/jenkins/job/siddhi/job/siddhi-execution-list/)
[![GitHub Release](https://img.shields.io/github/release/siddhi-io/siddhi-execution-list.svg)](https://github.com/siddhi-io/siddhi-execution-list/releases)
[![GitHub Release Date](https://img.shields.io/github/release-date/siddhi-io/siddhi-execution-list.svg)](https://github.com/siddhi-io/siddhi-execution-list/releases)
[![GitHub Open Issues](https://img.shields.io/github/issues-raw/siddhi-io/siddhi-execution-list.svg)](https://github.com/siddhi-io/siddhi-execution-list/issues)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-execution-list.svg)](https://github.com/siddhi-io/siddhi-execution-list/commits/master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

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.