public static class MapReduce.Response extends StreamableRiakCommand.StreamableResponse<MapReduce.Response,BinaryValue>
chunkedResponseIterator| Constructor and Description |
|---|
Response(Map<Integer,com.fasterxml.jackson.databind.node.ArrayNode> results) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.node.ArrayNode |
getResultForPhase(int i) |
com.fasterxml.jackson.databind.node.ArrayNode |
getResultsFromAllPhases() |
<T> Collection<T> |
getResultsFromAllPhases(Class<T> resultType) |
boolean |
hasResultForPhase(int i) |
boolean |
isStreaming()
Whether the results are to be streamed back.
|
Iterator<MapReduce.Response> |
iterator()
Get an iterator over the result data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic boolean isStreaming()
StreamableRiakCommand.StreamableResponseisStreaming in class StreamableRiakCommand.StreamableResponse<MapReduce.Response,BinaryValue>public boolean hasResultForPhase(int i)
public com.fasterxml.jackson.databind.node.ArrayNode getResultForPhase(int i)
public com.fasterxml.jackson.databind.node.ArrayNode getResultsFromAllPhases()
public <T> Collection<T> getResultsFromAllPhases(Class<T> resultType)
public Iterator<MapReduce.Response> iterator()
StreamableRiakCommand.StreamableResponseThread.isInterrupted()
in environments where thread interrupts must be obeyed.iterator in interface Iterable<MapReduce.Response>iterator in class StreamableRiakCommand.StreamableResponse<MapReduce.Response,BinaryValue>Copyright © 2016. All rights reserved.