IBM Streams 4.2.1

Working with toolkits

SPL toolkits contain the elements that make up SPL applications. A toolkit is a container of related SPL elements and can include a set of composite operators, primitive operators, native functions, and primitive functions.

About this task

A toolkit organizes your SPL applications into reusable parts. To create an application, you first create a toolkit. A main composite operator is created in the toolkit. The main composite can reference SPL elements in other toolkits by indicating dependencies in its info.xml file. Toolkits are referenced by a toolkit ID (a name) and version. These toolkits are used by the compiler when you compile an SPL application. Streams Studio SPL projects are toolkits.

Streams Studio maintains an index of the toolkits that are defined to the Studio. The toolkits are either SPL projects that are open in the Project Explorer view, or they are toolkits that are in toolkit locations, which are defined to the Streams Explorer view. The index contains one of each toolkit ID and version. If there is more than one toolkit with the same ID and version in the workspace, the following ordering applies:
  1. An open SPL project.
  2. A toolkit added to Toolkit Locations in the Streams Explorer view.

If either of these places contain more than one toolkit with the same ID and version, one of them is selected. The order is not guaranteed.

You can explore the toolkit locations in the Streams Explorer view to see the elements that these toolkits contain.
Tip: Do not have more than one SPL project with the same toolkit ID and version open at the same time.