|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.raw.pbc.PBMapReduceResult
public class PBMapReduceResult
Concrete implementation of MapReduceResult that handles PB response stream
| Method Summary | ||
|---|---|---|
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PBMapReduceResult newResult(MapReduceResponseSource response)
response -
public String getResultRaw()
MapReduceResult
getResultRaw in interface MapReduceResult
public <T> Collection<T> getResult(Class<T> resultType)
throws ConversionException
MapReduceResult
getResult in interface MapReduceResultresultType - A Java type to map the result too.
ConversionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||