StreamBase sample projects help you learn how to design EventFlow applications. The tables of available samples below are
organized in the same categories found the
This sample category includes EventFlow applications that focus on basic StreamBase functionality and solving business problems.
|Best Bids and Asks Sample
||Shows an example of a common stock trading application that tracks the highest bid price and lowest ask price for each stock.
|Bollinger Band Sample
||Shows an example of a common analytical tool that provides a relative definition of high and low bands in securities trading.
|Debugger Breakpoints Sample
||Shows how to set breakpoints for debugging applications in StreamBase Studio.
|Error Streams Sample
||Demonstrates how to use Error Ports and Streams.
||Shows an example of an application that processes financial tick data from three financial feeds, performing various useful
computations on the data.
|First Application Sample
||Use this sample while stepping through the tutorial in the Getting Started Guide. The tutorial is designed for first-time StreamBase Studio users.
||Demonstrates how to use StreamBase interfaces to enforce a set of stream and schema definitions, and to use different implementations
of the same interface for different purposes.
||Demonstrates how to use a simple loop in an EventFlow application.
||Shows an example of a momentum indicator: a program that follows trends and shows the relationship between two moving averages
|Output Filtering Sample
||Demonstrates the use of output filtering to allow StreamBase client applications to receive only the tuples that they are
supposed to receive, based on a keyword.
|Type Coercion Sample
||Demonstrates when a numeric data type can be automatically coerced to other types and when it cannot be coerced, illustrated
by both list and tuple inputs.
This sample category demonstrate how to work with the StreamBase Client libraries to create client programs.
||Highlights the tuple buffering options for producer or enqueue clients.
||Provides sample enqueue and dequeue clients; that is, enqueuing (adding) tuples onto a named stream, and dequeuing (reading)
processed tuples from a named stream. The samples include both Java or C++ sources.
|ReadTable API Sample
||Provides sample Java code that illustrates the new
StreamBaseClient.ReadTable() method, which is used to display all or a specified number of rows from a Query Table.
|TableOperator Java Client API Sample
||Provides sample Java code that illustrates the use of methods in the
TableAccessor class, which lets Java operators and adapters interact with Query Tables. In particular, this class lets you insert and replace
rows, read a single row based on the primary index, perform more complex multi-row queries, delete rows, and truncate entire
|Client Status Monitor Sample
||Demonstrates how to monitor the status of StreamBase clients using the Java Client API. The sample provides a Java application
that runs a StreamBase client and tracks its connection status in four ways.
Data Construct and Operator Samples
operator sample group illustrates all StreamBase operators in the Palette view, one sample per operator. The JDBC Query sample requires
site-specific configuration and is thereby provided in a separate sample.
|Avro Operator Sample
||Demonstrates the Tuple to Avro and Avro to Tuple operators.
|Operator Sample Group
||Operator Sample Group. Provides one small EventFlow module for each operator in the Palette view in StreamBase Studio.
|Capture Fields for Generic Data Store Sample
||Demonstrates how to use a capture field in the schema of a Query Table to make that table reusable with variable schemas in
different copies of its containing module.
|Capture Fields and Parent Schemas Sample
||Demonstrates how to use capture fields in conjunction with parent schemas to create a reusable module that can match orders
for FX trading in one instance and can match orders for Equities trading in another copy of the identical, unchanged module.
The module uses abstract schemas for its input stream and Query Table that become concrete schemas in actual use.
|Decision Table Operator Sample
||Demonstrates the decision table operator.
|Field Grids Sample
||Demonstrates how to avoid or resolve conflicts, ambiguities and typechecking errors related to including and adding fields
with names that conflict and related usage of declared local variables.
|FTP Operator Sample
||Shows how to use the FTP operator to execute simple FTP client commands programmatically.
|JDBC Table Sample
||Demonstrates the Query operator when associated with a JDBC Table data construct. The EventFlow application in this sample
cannot pass typechecking until you configure the sample to connect to an actual JDBC database at your site.
|JSON to Tuple and Tuple to JSON Operator Sample
||Demonstrates the Tuple to JSON and JSON to Tuple operators.
|Runtime Schema Cast Operator Sample
||Demonstrates the Runtime Schema Cast operator, which casts its input schema to its configured target output schema at run
|Salesforce Streaming API Adapter Sample
||Demonstrates listening to streaming events from the Salesforce platform based on a given topic.
|XML to Tuple and Tuple to XML Operator Sample
||Demonstrates the Tuple to XML and XML to Tuple operators.
Extending StreamBase Samples
You can extend StreamBase by writing your own custom clients, functions, embedded adapters, and Java operators, as illustrated
in this category of samples.
Large Data Storage and Analysis
This sample category describes adapters and operators that connect StreamBase providers of so-called big data solutions.
Native Database Connectivity Adapter Samples
This sample category illustrates how to use the adapters that provide connectivity to certain databases using high performance
database-native drivers provided by the database vendor, as opposed to standard JDBC connectivity.
Other TIBCO Product Connectivity Samples
This sample category describes adapters and operators that connect StreamBase to other members of the TIBCO product family.
Petroleum Industry Adapter Samples
This sample category describes adapters appropriate for oil and gas exploration applications.
|OSI PI Adapter Sample
||Shows how to use the OSI PI adapters.
|WITSML Adapter Samples
||Shows how to use the TIBCO WITSML operators to connect to a WITSML data store from your StreamBase application.
|WITS Adapter Samples
||Shows how to use the TIBCO WITS operators to get data from a WITS serial comm port connection.
StreamBase Market Data Adapter Samples
StreamBase Messaging Adapter Samples
StreamBase Standard Adapter Samples
StreamBase Trade Execution Adapter Samples
TIBCO Live DataMart Samples
|Sample Folder Name
|LiveView Adapters Sample
||Shows the use of the TIBCO LiveView Query, Delete, Publish, Ready and Table Create Drop adapters
||LiveView connecting to an ActiveSpaces Metaspace
||Shows advanced alerting features with preconfigured alert rules
||Shows how to use LiveView authentication
||Shows a simple Hello World application
||Using the LiveView Java Client API
||Using LiveView with a JDBC table
||Shows the minimum configuration to start the LiveView server
||Configuring a preprocessor
||Shows an embedded publisher application
||Using LiveView with a StreamBase Query Table table back end
||Shows a LiveView server without a data layer back end, but that connects to other LiveView server back ends
||Shows how to configure a data transformation application