apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shubham Pathak <shub...@datatorrent.com>
Subject Re: Retrieving a particular key from couchbase.
Date Mon, 22 Aug 2016 09:16:12 GMT
Hi Hitesh,

CouchbasePojoInputOperator emits a POJO for each row. You can add another
operator after this to process the records. In the process method of the
next operator, you may access data for a particular key using corresponding
getter methods.

You can check how a key is accessed in this test

Input operators implement emitTuple() method to generate payload for other
operators. Tuples emitted are marked as belonging to the windowId
identified by immediately preceding beginWindow call.


On Mon, Aug 22, 2016 at 12:21 PM, Hitesh Goyal <hitesh.goyal@nlpcaptcha.com>

> Hi team,
>   I am using CouchbasePojoInputOperator. I want to process on a particular
> key-value. How can I retrieve a particular key from the document. And also
> tell me what does emitTuple function returns.
> Regards,
> *Hitesh Goyal*
> Simpli5d Technologies
> Cont No.: 9599803307

View raw message