StreamBase provides components called data constructs that store information used by associated StreamBase operators.
The data constructs in the table appear in the Data Constructs drawer of the Palette view in StreamBase Studio. Click the construct's name or icon in the table to open the topic page for that construct.
| Icon | Operator | Description |
|---|---|---|
|
|
Query Table | A table structure in StreamBase application for storing tuple values outside of a stream, which allows the application to share data and maintain state. One or more Query operators can write to or read from an associated Query Table. Query Tables can be declared to reside in-memory, or on-disk. (Disk-based Query Tables are only available in StreamBase Enterprise Edition.) Query Tables can reside in a module and can be accessed from outside the module. |
|
|
Materialized Window |
A view of tuples passing through an input stream (unlike other data
constructs, which do not have input streams). The view can be based on a
fixed number of tuples, a time interval, or a field value. You can then
directly query the data in the materialized window using a read-only Query
operator.
NoteThe Materialized Window data construct remains available in StreamBase, but its use is discouraged. Materialized Windows may be superseded in a future release by a new feature with similar capabilities. |
|
|
JDBC Table | Connects a StreamBase application to a JDBC database. A Query operator can then query the JDBC database to maintain state and use its data in the application. |
|
|
Lock Set |
A data construct associated with a pair of Lock and Unlock
operators.
NoteThe Lock and Unlock operators and the Lock Set data construct are deprecated as of StreamBase 7.2.0 and will be removed in a future release. Do not design new applications that use this feature. Contact StreamBase Technical Support if you need help with replacing this feature in an existing application. |
To associate a Query operator with a Query Table, Materialized Window, or JDBC Table, or to associate Lock and Unlock Operators with a Lock Set, draw an arc between the bottom port of the operator and the top port of the related data construct.
A data construct can be associated with multiple operators, but an operator can be associated with only one data construct.
For more information related to data constructs, see the following topics:
