An example that demonstrates how to register a query in java.
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. |