This project has retired. For details please refer to its Attic page.
PObject (Apache Crunch 0.11.0 API)

org.apache.crunch
Interface PObject<T>

Type Parameters:
T - The type of value encapsulated by this PObject.

public interface PObject<T>

A PObject represents a singleton object value that results from a distributed computation. Computation producing the value is deferred until getValue() is called.


Method Summary
 T getValue()
          Gets the value associated with this PObject.
 

Method Detail

getValue

T getValue()
Gets the value associated with this PObject. Calling this method will trigger whatever computation is necessary to obtain the value and block until that computation succeeds.

Returns:
The value associated with this PObject.


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.