apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Weise <tho...@datatorrent.com>
Subject Re: Get partition ID
Date Wed, 09 Mar 2016 23:11:36 GMT
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 <
ashwinchandrap@gmail.com> 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 <Ilya.Ganelin@capitalone.com
> >
> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message