public class ViewQueryRequest extends AbstractCouchbaseRequest implements ViewRequest
Constructor and Description |
---|
ViewQueryRequest(String design,
String view,
boolean development,
boolean spatial,
String query,
String keys,
String bucket,
String password) |
ViewQueryRequest(String design,
String view,
boolean development,
boolean spatial,
String query,
String keys,
String bucket,
String username,
String password) |
ViewQueryRequest(String design,
String view,
boolean development,
String query,
String keys,
String bucket,
String password) |
ViewQueryRequest(String design,
String view,
boolean development,
String query,
String keys,
String bucket,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterSpanSet(io.opentracing.Span span)
Use this method to add custom span values on insert.
|
String |
design() |
boolean |
development() |
String |
keys() |
String |
query() |
boolean |
spatial() |
String |
view() |
bucket, complete, creationTime, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, toString, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bucket, complete, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, username
creationTime
public ViewQueryRequest(String design, String view, boolean development, String query, String keys, String bucket, String password)
design
- the name of the design document.view
- the name of the view.development
- true if development mode.query
- the query parameters, except “keys”.keys
- the “keys” parameter as a JSON array, null if not needed.bucket
- the bucket name.password
- the bucket password.public ViewQueryRequest(String design, String view, boolean development, String query, String keys, String bucket, String username, String password)
design
- the name of the design document.view
- the name of the view.development
- true if development mode.query
- the query parameters, except “keys”.keys
- the “keys” parameter as a JSON array, null if not needed.bucket
- the bucket name.username
- the user authorized for bucket access.password
- the user password.public ViewQueryRequest(String design, String view, boolean development, boolean spatial, String query, String keys, String bucket, String password)
design
- the name of the design document.view
- the name of the view.development
- true if development mode.spatial
- true if spatial query.query
- the query parameters, except “keys”.keys
- the “keys” parameter as a JSON array, null if not needed.bucket
- the bucket name.password
- the bucket password.public ViewQueryRequest(String design, String view, boolean development, boolean spatial, String query, String keys, String bucket, String username, String password)
design
- the name of the design document.view
- the name of the view.development
- true if development mode.spatial
- true if spatial query.query
- the query parameters, except “keys”.keys
- the “keys” parameter as a JSON array, null if not needed.bucket
- the bucket name.username
- the user authorized for bucket access.password
- the user password.protected void afterSpanSet(io.opentracing.Span span)
AbstractCouchbaseRequest
Use this method to add custom span values on insert.
afterSpanSet
in class AbstractCouchbaseRequest
public String design()
public String view()
public String query()
public String keys()
public boolean development()
public boolean spatial()
Copyright © 2018 Couchbase, Inc.. All rights reserved.