I think it is already lazily computed, or do you mean something else? Following 
is the signature of compute in RDD

 def compute(split: Partition, context: TaskContext): Iterator[T]

Thanks.

Zhan Zhang

On Oct 28, 2014, at 8:15 PM, Dai, Kevin <yun...@ebay.com> wrote:

> Hi, ALL
>  
> I have a RDD[T], can I use it like a iterator.
> That means I can compute every element of this RDD lazily.
>  
> Best Regards,
> Kevin.


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to