You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Mungeol Heo <mu...@gmail.com> on 2018/02/21 09:18:13 UTC

[Scala and Java API] Cast SCollection to PCollection

Hello,

Is there a way casting SCollection, which belongs to Scio, to PCollection?

Any help will be very great.

Thank you.

Re: [Scala and Java API] Cast SCollection to PCollection

Posted by Rafal Wojdyla <ra...@spotify.com>.
Hi Mungeol,
Yep - just get the 'internal'.
Doc:
http://spotify.github.io/scio/api/com/spotify/scio/values/SCollection.html#internal:org.apache.beam.sdk.values.PCollection%5BT%5D
Cheers - Rafal
On Wed, Feb 21, 2018 at 4:18 AM Mungeol Heo <mu...@gmail.com> wrote:

> Hello,
>
> Is there a way casting SCollection, which belongs to Scio, to PCollection?
>
> Any help will be very great.
>
> Thank you.
>