com.couchbase.client.protocol.views
Class ViewResponseReduced

java.lang.Object
  extended by com.couchbase.client.protocol.views.ViewResponse
      extended by com.couchbase.client.protocol.views.ViewResponseReduced
All Implemented Interfaces:
java.lang.Iterable<ViewRow>

public class ViewResponseReduced
extends ViewResponse

Holds the response of a view query where the map and reduce function were called.


Field Summary
 
Fields inherited from class com.couchbase.client.protocol.views.ViewResponse
errors, rows
 
Constructor Summary
ViewResponseReduced(java.util.Collection<ViewRow> rows, java.util.Collection<RowError> errors)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getMap()
           
 java.lang.String toString()
           
 
Methods inherited from class com.couchbase.client.protocol.views.ViewResponse
getErrors, iterator, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewResponseReduced

public ViewResponseReduced(java.util.Collection<ViewRow> rows,
                           java.util.Collection<RowError> errors)
Method Detail

getMap

public java.util.Map<java.lang.String,java.lang.Object> getMap()
Specified by:
getMap in class ViewResponse

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.