Define ObjectToNumberConverter operator which accepts Object on the input port and emits Number on its output port.
Use this operator in your DAG. ~ Yogi On 22 August 2016 at 17:42, Hitesh Goyal <hitesh.go...@nlpcaptcha.com> wrote: > Hi team, > > Refer to following 3 lines of code. > > CouchBasePOJOInputOperator inputOperator = dag.addOperator("inputOperator", > CouchBasePOJOInputOperator.*class*); > > MedianOperator median = dag.addOperator("median", MedianOperator.*class*); > > dag.*addStream*("med", inputOperator.outputPort.getClass(), median.data); > > > > It is giving error in the last line that the method is not applicable > as these arguments. > > How should I convert Object to Number so that I can input the data to > Median Operator Class > > > > > > Regards, > > *Hitesh Goyal* > > Simpli5d Technologies > > Cont No.: 9599803307 > > >