com.couchbase.client.protocol.views
Class ViewOperationImpl
java.lang.Object
com.couchbase.client.protocol.views.HttpOperationImpl
com.couchbase.client.protocol.views.ViewOperationImpl
- All Implemented Interfaces:
- HttpOperation, ViewOperation
- Direct Known Subclasses:
- DocsOperationImpl, NoDocsOperationImpl, ReducedOperationImpl
public abstract class ViewOperationImpl
- extends HttpOperationImpl
- implements ViewOperation
A ViewOperationImpl.
Field Summary |
protected static java.util.logging.Logger |
LOGGER
|
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 |
LOGGER
protected static final java.util.logging.Logger LOGGER
ViewOperationImpl
public ViewOperationImpl(org.apache.http.HttpRequest r,
AbstractView view,
net.spy.memcached.ops.OperationCallback cb)
getView
public AbstractView getView()
handleResponse
public void handleResponse(org.apache.http.HttpResponse response)
- Specified by:
handleResponse
in interface HttpOperation
- Specified by:
handleResponse
in class HttpOperationImpl
parseError
protected abstract void parseError(java.lang.String json,
int errorcode)
throws java.text.ParseException
- Throws:
java.text.ParseException
parseResult
protected abstract ViewResponse parseResult(java.lang.String json)
throws java.text.ParseException
- Throws:
java.text.ParseException
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.