Registering Streams When Registering A Query

You must create input and output streams when you register a query. Either bind those streams to existing streams in an existing project, or leave them unbound and instead use an out-of-process adapter to write data to or read data from those streams.

You must specify the schema for these streams. The individual SDK chapters explain how to specify the schema of a stream when you call registerQuery().

In addition to creating input and output streams, your registered query may also create local streams. If you use local streams, do not specify a schema for them. The local stream's schemas will be deduced from the results of the CCL statements in the registered query, so you must write the CCL statements that reference those streams in a way that makes implicit schema determination possible.

Streams in registered queries are populated in one of the following ways: