com.couchbase.client.protocol.views
Class ViewResponseWithDocs

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

public class ViewResponseWithDocs
extends ViewResponse

Holds the response of a view query where the map function was called and the documents are included.


Field Summary
 
Fields inherited from class com.couchbase.client.protocol.views.ViewResponse
errors, rows
 
Constructor Summary
ViewResponseWithDocs(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

ViewResponseWithDocs

public ViewResponseWithDocs(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.