com.couchbase.client.protocol.views
Class ViewResponse
java.lang.Object
com.couchbase.client.protocol.views.ViewResponse
- All Implemented Interfaces:
- java.lang.Iterable<ViewRow>
- Direct Known Subclasses:
- ViewResponseNoDocs, ViewResponseReduced, ViewResponseWithDocs
public abstract class ViewResponse
- extends java.lang.Object
- implements java.lang.Iterable<ViewRow>
Holds the response of a queried view.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rows
protected final java.util.Collection<ViewRow> rows
errors
protected final java.util.Collection<RowError> errors
ViewResponse
public ViewResponse(java.util.Collection<ViewRow> r,
java.util.Collection<RowError> e)
getErrors
public java.util.Collection<RowError> getErrors()
iterator
public java.util.Iterator<ViewRow> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<ViewRow>
size
public int size()
getMap
public abstract java.util.Map<java.lang.String,java.lang.Object> getMap()
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.