You can also assign a custom ID or other any other per-partition properties in the partitioner.
On Wed, Mar 9, 2016 at 3:09 PM, Ashwin Chandra Putta < [email protected]> wrote: > Use the getId() method in OperatorContext. > > > https://www.datatorrent.com/docs/apidocs/com/datatorrent/api/Context.OperatorContext.html#getId() > > Regards, > Ashwin. > > On Wed, Mar 9, 2016 at 3:05 PM, Ganelin, Ilya <[email protected] > > > wrote: > > > Given that any single logical operator may have multiple physical > > partitions, is there any way for an operator to know something akin to a > > partition ID? E.g. part0, part1, etc. > > ________________________________________________________ > > > > The information contained in this e-mail is confidential and/or > > proprietary to Capital One and/or its affiliates and may only be used > > solely in performance of work or services for Capital One. The > information > > transmitted herewith is intended only for use by the individual or entity > > to which it is addressed. If the reader of this message is not the > intended > > recipient, you are hereby notified that any review, retransmission, > > dissemination, distribution, copying or other use of, or taking of any > > action in reliance upon this information is strictly prohibited. If you > > have received this communication in error, please contact the sender and > > delete the material from your computer. > > > > > > -- > > Regards, > Ashwin. >
