5.3.2 Changing the query definition file

This subsection describes how to delete a query group and change a query definition file when you wish to change CQL statements defined in the query definition file.

Organization of this subsection
(1) Deleting a query group
(2) Changing a query definition file

(1) Deleting a query group

You can delete a query group from the SDP server by executing the sdpcqldel command. Once a query group is deleted, operations on the query group or data transmission from adaptors are no longer available.

An example of deletion of a query group is shown below. In this example, QueryGroupSample is the name of the query group property file.

working-directory\bin\sdpcqldel QueryGroupSample

For details about the sdpcqldel command, see sdpcqldel (deletes a query group) in 7. Commands.

(2) Changing a query definition file

To change the contents of a query definition file:

  1. Use the sdpstopinpro or sdpstopap command to terminate the adaptor group.
    For details about how to terminate adaptor groups, see 4.4.1 Terminating adaptors (standard adaptors).
  2. Use the sdpcqlstop command to terminate the query group.
    For details about how to terminate query groups, see 4.4.3 Terminating query groups.
  3. Use the sdpcqldel command to delete the query group.
    For details about deleting query groups, see (1) Deleting a query group.
  4. Change the contents of the query definition file.
    For details about query definition files, see the manual uCosminexus Stream Data Platform - Application Framework Application Development Guide.
  5. Use the sdpcql command to register the query group.
    For details about registering query groups, see 4.2.2 Registering query groups.