Next steps
Here are pointers to learn more about Teracloud® Streams.
In this tutorial, you learned about
many topics superficially. Along the way, you saw several links to
more detailed documentation. A good way to continue learning the language
is to exercise by writing programs of your own. Table 1 lists several
suggestions for topics you might want to study further, and exercises
you might want to do to cement your SPL skills.
Topic | Exercise | Related documentation |
---|---|---|
Expression language | Write a program to reverse the lines of a small file. | Expression language |
Type system | Create a histogram of the length of lines in a file. | |
Other operators and functions in the SPL standard toolkit | Merge two sorted streams such that the output is also sorted. | SPL standard toolkit. |
Windows™ | Sort a file five lines at a time. | Streams and tuples |
Configs | Change the logLevel config
and look at the log files to see what happens. |
You can change the log level for all runtime services and applications in an instance. |
C++ primitive operators | Write a C++ primitive operator that extracts groups that are matched by subexpressions of a regexp. | Developing C++ primitive operators |
Java™ primitive operators | Write a Java™ primitive operator that extracts groups that are matched by subexpressions of a regexp. | Developing Java™ primitive operators |
Writing native functions | Turn a map into a list of (key,value) tuples. | Creating native functions |
Dynamic application composition | Run the SchemaSharing sample
that is included with Teracloud®
Streams. |
Dynamic application composition |
Streams debugger | Run the NumberedCat program
and interactively drop a tuple. |
Debugging with the Streams Debugger |