public class PBMapReduceResult extends Object implements MapReduceResult
| Modifier and Type | Method and Description |
|---|---|
<T> Collection<T> |
getResult(Class<T> resultType)
Mapped results to a simple java type, can be a Collection type (Map, List
etc) or a Java Bean style class.
|
String |
getResultRaw()
The raw JSON string of the result
|
static PBMapReduceResult |
newResult(MapReduceResponseSource response)
Factory method to create a response instance.
|
public static PBMapReduceResult newResult(MapReduceResponseSource response)
response - public String getResultRaw()
MapReduceResultgetResultRaw in interface MapReduceResultpublic <T> Collection<T> getResult(Class<T> resultType) throws ConversionException
MapReduceResultgetResult in interface MapReduceResultresultType - A Java type to map the result too.ConversionExceptionCopyright © 2014. All Rights Reserved.