com.couchbase.client.protocol.views
Class NoDocsOperationImpl

java.lang.Object
  extended by com.couchbase.client.protocol.views.HttpOperationImpl
      extended by com.couchbase.client.protocol.views.ViewOperationImpl
          extended by com.couchbase.client.protocol.views.NoDocsOperationImpl
All Implemented Interfaces:
HttpOperation, ViewOperation

public class NoDocsOperationImpl
extends ViewOperationImpl

Implementation of a view that calls the map function and excludes the documents in the result.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.couchbase.client.protocol.views.ViewOperation
ViewOperation.ViewCallback
 
Field Summary
 
Fields inherited from class com.couchbase.client.protocol.views.ViewOperationImpl
LOGGER
 
Fields inherited from class com.couchbase.client.protocol.views.HttpOperationImpl
callback, exception
 
Constructor Summary
NoDocsOperationImpl(org.apache.http.HttpRequest r, AbstractView view, ViewOperation.ViewCallback cb)
           
 
Method Summary
protected  void parseError(java.lang.String json, int errorcode)
           
protected  ViewResponseNoDocs parseResult(java.lang.String json)
           
 
Methods inherited from class com.couchbase.client.protocol.views.ViewOperationImpl
getView, handleResponse
 
Methods inherited from class com.couchbase.client.protocol.views.HttpOperationImpl
addAuthHeader, cancel, getCallback, getEntityString, getException, getRequest, hasErrored, isCancelled, isTimedOut, parseViewForStatus, setException, timeOut, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoDocsOperationImpl

public NoDocsOperationImpl(org.apache.http.HttpRequest r,
                           AbstractView view,
                           ViewOperation.ViewCallback cb)
Method Detail

parseResult

protected ViewResponseNoDocs parseResult(java.lang.String json)
                                  throws java.text.ParseException
Specified by:
parseResult in class ViewOperationImpl
Throws:
java.text.ParseException

parseError

protected void parseError(java.lang.String json,
                          int errorcode)
                   throws java.text.ParseException
Specified by:
parseError in class ViewOperationImpl
Throws:
java.text.ParseException


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