Siddhi Execution String Extension Parent

WSO2 is an open source application development software company focused on providing service-oriented architecture solutions for professional developers.

License

License

Categories

Categories

Siddhi Business Logic Libraries Machine Learning
GroupId

GroupId

org.wso2.extension.siddhi.execution.string
ArtifactId

ArtifactId

siddhi-execution-string-parent
Last Version

Last Version

4.1.1
Release Date

Release Date

Type

Type

zip
Description

Description

Siddhi Execution String Extension Parent
WSO2 is an open source application development software company focused on providing service-oriented architecture solutions for professional developers.
Project URL

Project URL

http://wso2.org
Project Organization

Project Organization

WSO2
Source Code Management

Source Code Management

https://github.com/wso2-extensions/siddhi-execution-string.git

Download siddhi-execution-string-parent

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Siddhi Execution String

Jenkins Build Status GitHub Release GitHub Release Date GitHub Open Issues GitHub Last Commit License

The siddhi-execution-string extension is a Siddhi extension that provides basic string handling capabilities such as concat, length, replace all, etc.

For information on Siddhi and it's features refer Siddhi Documentation.

Download

  • 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

Latest API Docs is 5.0.11.

Features

  • groupConcat (Aggregate Function)

    This function aggregates the received events by concatenating the keys in those events using a separator, e.g.,a comma (,) or a hyphen (-), and returns the concatenated key string.

  • charAt (Function)

    This function returns the 'char' value that is present at the given index position. of the input string.

  • charFrequency (Function)

    Gives the frequency of a char in input string.

  • coalesce (Function)

    This returns the first input parameter value of the given argument, that is not null.

  • concat (Function)

    This function returns a string value that is obtained as a result of concatenating two or more input string values.

  • contains (Function)

    This function returns true if theinput.string contains the specified sequence of char values in the search.string.

  • equalsIgnoreCase (Function)

    This returns a boolean value by comparing two strings lexicographically without considering the letter case.

  • fillTemplate (Function)

    fillTemplate(string, map) will replace all the keys in the string using values in the map. fillTemplate(string, r1, r2 ..) replace all the entries {{1}}, {{2}}, {{3}} with r1 , r2, r3.

  • hex (Function)

    This function returns a hexadecimal string by converting each byte of each character in the input string to two hexadecimal digits.

  • length (Function)

    Returns the length of the input string.

  • locate (Function)

    This function returns the position of one string within another. Optionally, the user can give the starting index to be search from.

  • lower (Function)

    Converts the capital letters in the input string to the equivalent simple letters.

  • regexp (Function)

    Returns a boolean value based on the matchability of the input string and the given regular expression.

  • repeat (Function)

    Repeats the input string for a specified number of times.

  • replaceAll (Function)

    Finds all the substrings of the input string that matches with the given expression, and replaces them with the given replacement string.

  • replaceFirst (Function)

    Finds the first substring of the input string that matches with the given regular expression, and replaces itwith the given replacement string.

  • reverse (Function)

    Returns the input string in the reverse order character-wise and string-wise.

  • split (Function)

    Splits the input.string into substrings using the value parsed in the split.string and returns the substring at the position specified in the group.number.

  • strcmp (Function)

    Compares two strings lexicographically and returns an integer value. If both strings are equal, 0 is returned. If the first string is lexicographically greater than the second string, a positive value is returned. If the first string is lexicographically greater than the second string, a negative value is returned.

  • substr (Function)

    Returns a substring of the input string by considering a subset or all of the following factors: starting index, length, regular expression, and regex group number.

  • trim (Function)

    Returns a copy of the input string without the leading and trailing whitespace (if any).

  • unhex (Function)

    Returns a string by converting the hexadecimal characters in the input string.

  • upper (Function)

    Converts the simple letters in the input string to the equivalent capital/block letters.

  • tokenize (Stream Processor)

    This function splits the input string into tokens using a given regular expression and returns the split tokens.

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.

org.wso2.extension.siddhi.execution.string

WSO2 Extensions

Versions

Version
4.1.1
4.1.0
4.0.26
4.0.25
4.0.24
4.0.23
4.0.22
4.0.21
4.0.20
4.0.19
4.0.18
4.0.17
4.0.16
4.0.15
4.0.14
4.0.13
4.0.12
4.0.11
4.0.10
4.0.9
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3