This subsection explains the content of the query group (RMI_QueryGroupTest) registered in step 6 under 8.2.1 Procedure for executing the sample program for an RMI connection custom adaptor.
In the property file for an RMI connection query group, two streams (named s1 and s2) and a query (named join) are defined. A tuple is generated from the stream data and is output to an output stream whose stream name is the query name join.
The content of the definition is shown below. Note that the uppercase and lowercase notations are different from the sample.
REGISTER STREAM s1(c1 INT, c2 VARCHAR(20)); |
Data in streams s1 and s2 are joined, and an operation that generates a stream tuple is defined.