...
Code Block |
---|
|
#WAITFORQUERY query1 [period [maxwaitingtime]] |
#DROPALLQUERIES
This command
...
drops all installed queries. It does not remove andy sources or sinks, but you can use #DROPALLSINKS or #DROPALLSOURCES for this.
Parameters
It has no parameters.
Example
Code Block |
---|
language | javascript |
---|
theme | Eclipse |
---|
linenumbers | true |
---|
|
#DROPALLQUERIES |
#BUFFERPLACEMENT
This command is used to control how buffers are (automatically) placed within the query plan if a query is transformed (e.g. by #QUERY).
Parameters
The parameter is the name of a buffer placement strategy. Since the strategies are dynamically loaded, the availability of certain strategies depends on the current system setting (which features are installed and which not). Some possible stragies are shown in the examples.
Examples
No buffers:
Code Block |
---|
language | javascript |
---|
theme | Eclipse |
---|
linenumbers | true |
---|
|
#BUFFERPLACEMENT None |
Adds a buffer before each operator:
Code Block |
---|
language | javascript |
---|
theme | Eclipse |
---|
linenumbers | true |
---|
|
#BUFFERPLACEMENT Standard Buffer Placement |
Adds a buffer after each source:
Code Block |
---|
language | javascript |
---|
theme | Eclipse |
---|
linenumbers | true |
---|
|
#BUFFERPLACEMENT Source Buffer Placement |
Adds a buffer for each query:
Code Block |
---|
language | javascript |
---|
theme | Eclipse |
---|
linenumbers | true |
---|
|
#BUFFERPLACEMENT Query Buffer Placement |
#DOQUERYSHARING
This command switches the query sharing (which tries to optimize a query be reusing parts of already installed query plans) on or off.
Parameters
The parameter is a boolean: the parameter may be either "true" or "false".
Example
Code Block |
---|
language | javascript |
---|
theme | Eclipse |
---|
linenumbers | true |
---|
|
/// query sharing off
#DOQUERYSHARING false
/// query sharing on
#DOQUERYSHARING true |
#DOREWRITE
This command switches the rewriting (tries to optimize a query plan by switching, deleting, splitting or merging operators without changing the query's semantics) on or off.
Parameters
The parameter is a boolean: the parameter may be either "true" or "false".
Example
Code Block |
---|
language | javascript |
---|
theme | Eclipse |
---|
linenumbers | true |
---|
|
/// query rewrite off
#DOREWRITE false
/// query rewrite on
#DOREWRITE true |
Code Block |
---|
#DROPALLQUERIES |