net.spy.memcached.protocol.couch
Class ViewResponseWithDocs

java.lang.Object
  extended by net.spy.memcached.protocol.couch.ViewResponseWithDocs
All Implemented Interfaces:
Iterable<RowWithDocs>, Map<String,Object>, ViewResponse<RowWithDocs>

public class ViewResponseWithDocs
extends Object
implements ViewResponse<RowWithDocs>, Map<String,Object>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
ViewResponseWithDocs(Collection<RowWithDocs> r, Collection<RowError> e)
           
 
Method Summary
 void addError(RowError r)
           
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<String,Object>> entrySet()
           
 Object get(Object key)
           
 Collection<RowError> getErrors()
           
 boolean isEmpty()
           
 Iterator<RowWithDocs> iterator()
           
 Set<String> keySet()
           
 Object put(String key, Object value)
           
 void putAll(Map<? extends String,? extends Object> m)
           
 Object remove(Object key)
           
 int size()
           
 String toString()
           
 Collection<Object> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ViewResponseWithDocs

public ViewResponseWithDocs(Collection<RowWithDocs> r,
                            Collection<RowError> e)
Method Detail

addError

public void addError(RowError r)

getErrors

public Collection<RowError> getErrors()
Specified by:
getErrors in interface ViewResponse<RowWithDocs>

iterator

public Iterator<RowWithDocs> iterator()
Specified by:
iterator in interface Iterable<RowWithDocs>

toString

public String toString()
Overrides:
toString in class Object

clear

public void clear()
Specified by:
clear in interface Map<String,Object>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<String,Object>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<String,Object>

entrySet

public Set<Map.Entry<String,Object>> entrySet()
Specified by:
entrySet in interface Map<String,Object>

get

public Object get(Object key)
Specified by:
get in interface Map<String,Object>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Object>

keySet

public Set<String> keySet()
Specified by:
keySet in interface Map<String,Object>

put

public Object put(String key,
                  Object value)
Specified by:
put in interface Map<String,Object>

putAll

public void putAll(Map<? extends String,? extends Object> m)
Specified by:
putAll in interface Map<String,Object>

remove

public Object remove(Object key)
Specified by:
remove in interface Map<String,Object>

size

public int size()
Specified by:
size in interface Map<String,Object>
Specified by:
size in interface ViewResponse<RowWithDocs>

values

public Collection<Object> values()
Specified by:
values in interface Map<String,Object>