Closed bserdar closed 7 years ago
Done.
On Tue, Apr 18, 2017 at 12:14 PM, Dennis Crissman notifications@github.com wrote:
@dcrissman commented on this pull request.
In crud/src/main/java/com/redhat/lightblue/rest/crud/cmd/FindCommand.java https://github.com/lightblue-platform/lightblue-rest/pull/286#discussion_r112026153 :
- processed: { document },
- resultMetadata: { metadata }
- }
- */
- public StreamingOutput getResponseStream() {
- return new StreamingOutput() {
- ObjectNode chunkNode;
- ArrayNode resultNode;
- ArrayNode rmdNode;
- @Override
- public void write(OutputStream os) throws IOException {
- // clear out the streamed results from the response
- // We will stream entitydata and resultMetadata
- ArrayNode entityData=(ArrayNode)streamResponse.getEntityData();
instanceof ArrayNode check?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lightblue-platform/lightblue-rest/pull/286#pullrequestreview-33309661, or mute the thread https://github.com/notifications/unsubscribe-auth/ADgDDWIPR-hZsKkkl9rbJ9KxzgrLhOeZks5rxP2dgaJpZM4M5n3Q .
… mediator supports streaming result sets