This document describes the steps to create a new user defined operator with ODL.
Name
First you need to choose a meaningful name for the new operator. Note, there is no other operator with the same name.
Code Block | ||
---|---|---|
| ||
operator ODLSelect {
//...
} |
Metadata
Next you can set metadata to configure the operator with static information.
Code Block | ||
---|---|---|
| ||
operator ODLSelect(outputMode = "INPUT", minInputPorts = 1, maxInputPorts = 1){
//...
} |
The following table shows the available metadata:
Metadata | Possible values |
---|---|
outputmode (important) |
|
persistent |
|
minInputPorts |
|
maxInputPorts |
|
Please look at the LogicalOperator-Interface of Odysseus for more available metadata (e.g. doc, url, category).