Deletes an existing Oracle CQL rule from the specified processor of an Oracle Stream Analytics application.
Syntax
java wlevs.Admin [ Connection Arguments ] [ User Credentials Arguments ] [ Common Arguments ] DELETERULE -application application -processor processor -rule rulename
Table A-8 DELETERULE Arguments
Argument | Definition |
---|---|
-application application
|
Specifies the name of the Oracle Stream Analytics application whose Oracle CQL rules you want to manage. To get the exact name of your application, you can:
|
-processor processor
|
Specifies the name of the particular processor, attached to the Oracle Stream Analytics application specified with the See Query for Application and Processor Names for details on getting the exact name if you do not know it. |
-rule rulename
|
Specifies the name of the Oracle CQL rule, query, or view you want to delete. See Query for Application and Processor Names for details on querying for the rule name if you do not know it. You can also use the DOWNLOAD command to get the list of rules, queries, or views for a particular Oracle CQL processor. |
Example
The following example shows how to delete the Oracle CQL view called myview
from the Oracle CQL helloworldProcessor
of the helloworld
application:
java wlevs.Admin -url service:jmx:msarmi://localhost:9002/jndi/jmxconnector -username wlevs -password wlevs DELETERULE -application helloworld -processor helloworldProcessor -rule myview