public abstract class ViewResponse extends java.lang.Object implements java.lang.Iterable<ViewRow>
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<RowError> |
errors |
protected java.util.Collection<ViewRow> |
rows |
protected long |
totalRows |
Constructor and Description |
---|
ViewResponse(java.util.Collection<ViewRow> r,
java.util.Collection<RowError> e,
long t) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<RowError> |
getErrors() |
abstract java.util.Map<java.lang.String,java.lang.Object> |
getMap() |
long |
getTotalRows() |
java.util.Iterator<ViewRow> |
iterator() |
ViewRow |
removeLastElement() |
int |
size() |
protected final java.util.Collection<ViewRow> rows
protected final java.util.Collection<RowError> errors
protected final long totalRows
public java.util.Collection<RowError> getErrors()
public long getTotalRows()
public java.util.Iterator<ViewRow> iterator()
iterator
in interface java.lang.Iterable<ViewRow>
public int size()
public abstract java.util.Map<java.lang.String,java.lang.Object> getMap()
public ViewRow removeLastElement()
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.