Skip to content

siddhi-io/siddhi-execution-unitconversion

Repository files navigation

siddhi-execution-unitconversion

The siddhi-execution-unitconversion extension is an extension to Siddhi that enables conversions of length, mass, time and volume units.

Find some useful links below:

Latest API Docs

Latest API Docs is 2.0.2.

How to use

Using the extension in WSO2 Stream Processor

  • You can use this extension in the latest WSO2 Stream Processor that is a part of WSO2 Analytics offering, with editor, debugger and simulation support.

  • This extension is shipped by default with WSO2 Stream Processor, if you wish to use an alternative version of this extension you can replace the component jar that can be found in the <STREAM_PROCESSOR_HOME>/lib directory.

Using the extension as a java library

  • This extension can be added as a maven dependency along with other Siddhi dependencies to your project.
     <dependency>
        <groupId>io.siddhi.extension.execution.unitconversion</groupId>
        <artifactId>siddhi-execution-unitconversion</artifactId>
        <version>x.x.x</version>
     </dependency>

Jenkins Build Status


Branch Build Status
master Build Status

Features

  • MmTokm (Function)

    This converts the input given in megameters into kilometers.

  • cmToft (Function)

    This converts the input given in centimeters into feet.

  • cmToin (Function)

    This converts the input given in centimeters into inches.

  • cmTokm (Function)

    This converts the input value given in centimeters into kilometers.

  • cmTom (Function)

    This converts the input given in centimeters into meters.

  • cmTomi (Function)

    This converts the input given in centimeters into miles.

  • cmTomm (Function)

    This converts the input given in centimeters into millimeters.

  • cmTonm (Function)

    This converts the input given in centimeters into nanometers.

  • cmToum (Function)

    This converts the input in centimeters into micrometers.

  • cmToyd (Function)

    This converts the input given in centimeters into yards.

  • dToh (Function)

    This converts the input given in days into hours.

  • gTokg (Function)

    This converts the input given in grams into kilograms.

  • gTomg (Function)

    This converts the input given in grams into milligrams.

  • gToug (Function)

    This converts the input given in grams into micrograms.

  • hTom (Function)

    This converts the input given in hours into minutes.

  • hTos (Function)

    This converts the input given in hours into seconds.

  • kgToLT (Function)

    This converts the input given in kilograms into imperial tons.

  • kgToST (Function)

    This converts the input given in kilograms into US tons.

  • kgTog (Function)

    This converts the input given in kilograms into grams.

  • kgTolb (Function)

    This converts the input given in kilograms into pounds.

  • kgTooz (Function)

    This converts the input given in kilograms into ounces.

  • kgTost (Function)

    This converts the input given in kilograms into imperial stones.

  • kgTot (Function)

    This converts the input given in kilograms into tonnes.

  • kmTocm (Function)

    This converts the input given in kilometers into centimeters.

  • kmToft (Function)

    This converts the input given in kilometers into feet.

  • kmToin (Function)

    This converts the input given in kilometers into inches.

  • kmTom (Function)

    This converts the input given in kilometers into meters.

  • kmTomi (Function)

    This converts the input given in kilometers into miles.

  • kmTomm (Function)

    This converts the input given in kilometers into millimeters.

  • kmTonm (Function)

    This converts the input given in kilometers into nanometers.

  • kmToum (Function)

    This converts the input given in kilometers into micrometers.

  • kmToyd (Function)

    This converts the input given in kilometers into yards.

  • lTom3 (Function)

    This converts the input given in liters into cubic meters.

  • lToml (Function)

    This converts the input given in liters into milliliters.

  • m3Tol (Function)

    This converts the input given in cubic meters into liters.

  • mTocm (Function)

    This converts the input given in meters into centimeters.

  • mToft (Function)

    This converts the input given in meters into feet.

  • mTomm (Function)

    This converts the input given in meters into millimeters.

  • mTos (Function)

    This converts the input given in minutes into seconds.

  • mToyd (Function)

    This converts the input given in meters into yards.

  • miTokm (Function)

    This converts the input given in miles into kilometers.

  • mlTol (Function)

    This converts the input given in milliliters into liters.

  • sToms (Function)

    This converts the input given in seconds into milliseconds.

  • sTons (Function)

    This converts the input given in seconds into nanoseconds.

  • sTous (Function)

    This converts the input given in seconds into microseconds.

  • tTog (Function)

    This converts the input given in tonnes into grams.

  • tTokg (Function)

    This converts the input given in tonnes into kilograms.

  • yTod (Function)

    This converts the given input in years into days.

How to Contribute

Contact us

Support

  • We are committed to ensuring support for this extension in production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

  • For more details and to take advantage of this unique opportunity contact us via http://wso2.com/support/.