Registering a query

An example that demonstrates how to register a query.

Name

Example_04_RegisteringAQuery

Description

This example demonstrates how to register a query. This same code is used in examples 1 and 2 to create a stream for subscribing and publishing. In this example, the primary purpose is to register a query, so the example produces no output.

Notable Classes and Methods

RegisterableQueryFactory.NewInstance()

rqf.NewQuery

engineClient.RegisterQuery(query)

Related Information

For more information about registering a query, see Dynamically Registering Queries and Streams.