Operators: Toolkits

Toolkits > Operators

Operators

ShellPipe
ShellPipe is an operator for the IBM Streams product that executes a Linux command or command pipeline in a shell.
ShellSink
ShellSink is an operator for the IBM Streams product that executes a Linux command or command pipeline in a shell.
ShellSource
ShellSource is an operator for the IBM Streams product that executes Linux commands or command pipelines in a shell.
TestShellPipeBadScript
This sample application executes a Perl script containing a syntax error with the ShellPipe operator, and logs the error messages from the Perl interpreter in the Streams application trace.
TestShellPipeBadScript2
This sample application executes a Perl script containing a syntax error with the ShellPipe operator, and logs the error messages from the Perl interpreter in the Streams application trace.
TestShellPipeBasic1
This sample application executes a variety of scripts with the ShellPipe operator, flowing Streams tuple attributes through the scripts, and storing their STDOUT in files.
TestShellPipeBasic2
This sample application executes a variety of scripts with the ShellPipe operator, flowing Streams tuple attributes through the scripts, and storing their STDOUT and STDERR in files.
TestShellPipeCopyAttributes_1to1_naive
This sample application executes a Perl script with the ShellPipe operator, flowing Streams tuples through the script asynchronously, naively copying input attributes to output tuples.
TestShellPipeCopyAttributes_1to1_paired
This sample application executes a Perl script with the ShellPipe operator, flowing Streams tuples through the script asynchronously, then pairing the ShellPipe operator's input and output tuples, using a downstream Barrier operator.
TestShellPipeCopyAttributes_1toN_naive
This sample application executes a Perl script with the ShellPipe operator, flowing Streams tuples through the script asynchronously, naively copying input attributes to output tuples.
TestShellPipeCopyAttributes_1toN_queued
This sample application executes a Perl script with the ShellPipe operator, flowing Streams tuples through the script asynchronously, then matching the ShellPipe operator's output tuples with the input tuple that caused them, using a downstream Custom operator.
TestShellPipeSynchronize
This sample application executes a Perl script with the ShellPipe operator, flowing Streams tuple attributes through the script, synchronizing the tuple flow with the script's input and output, using an upstream Gate operator.
TestShellSinkBadScript
This sample application executes a Perl script containing a syntax error with the ShellSink operator, and logs the error messages from the Perl interpreter in the Streams application trace.
TestShellSinkBasic
This sample application executes a variety of scripts with the ShellSink operator, flowing text ingested from an input file through them as STDIN.
TestShellSourceBasic1
This sample application executes a shell command with a variety of ShellSource operators illustrating how to specify the operator's required and optional parameters, and writes STDOUT from the command into files.
TestShellSourceBasic2
This sample application executes a variety of shell command pipelines coded directly in ShellSource operators, and writes STDOUT and STDERR from the commands into files.
TestShellSourceBasic3
This sample application tries to execute a non-existant shell command with a ShellSource operator, and writes the shell's error code into a file.
TestShellSourceInputCommands
This sample application ingests valid and invalid shell commands from a text file, executes the commands with ShellSource operators that illustrate how to specify the operator's optional parameters, and writes STDOUT, STDERR, and exit status from each command into files.
TestShellSourceInputTuples
This sample application ingests valid and invalid shell commands from a text file into tuples containing additional attributes, executes the commands with a variety of ShellSource operators that illustrate how to specify the operator's optional parameters, and writes STDOUT, STDERR, and exit status from each command into files.
TestShellSourceOutputAttributes
This sample application ingests valid and invalid shell commands from a text file into tuples containing additional attributes, executes the commands with a ShellSource operator that illustrates how output attributes are copied from input attributes with the same name and type, and writes STDOUT, STDERR, and exit status from each command into files.