Skip to content

Commit

Permalink
Remove ParameterOverloads annotation for sort window
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanvive committed Jun 28, 2019
1 parent e804b27 commit 3f2d381
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import io.siddhi.annotation.Example;
import io.siddhi.annotation.Extension;
import io.siddhi.annotation.Parameter;
import io.siddhi.annotation.ParameterOverload;
import io.siddhi.annotation.util.DataType;
import io.siddhi.core.config.SiddhiQueryContext;
import io.siddhi.core.event.ComplexEventChunk;
Expand Down Expand Up @@ -82,12 +81,7 @@
type = {DataType.STRING},
optional = true,
defaultValue = "asc")
},
parameterOverloads = {
@ParameterOverload(parameterNames = {"window.length", "attribute"}),
@ParameterOverload(parameterNames = {"window.length", "attribute", "order"})
},
examples = @Example(
}, examples = @Example(
syntax = "define stream cseEventStream (symbol string, price float, volume long);\n" +
"define window cseEventWindow (symbol string, price float, volume long) sort(2,volume, 'asc')" +
";\n@info(name = 'query0')\n" +
Expand Down

0 comments on commit 3f2d381

Please sign in to comment.