public class SearchQueryExecutor extends Object
Constructor and Description |
---|
SearchQueryExecutor(CouchbaseEnvironment environment,
ClusterFacade core,
String bucket,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
rx.Observable<AsyncSearchQueryResult> |
execute(SearchQuery query,
long timeout,
TimeUnit timeUnit)
Executes the given
SearchQuery . |
public SearchQueryExecutor(CouchbaseEnvironment environment, ClusterFacade core, String bucket, String username, String password)
public rx.Observable<AsyncSearchQueryResult> execute(SearchQuery query, long timeout, TimeUnit timeUnit)
SearchQuery
.query
- the query to executetimeout
- the timeout for the querytimeUnit
- the timeunit for the timeoutObservable
eventually containing the AsyncSearchQueryResult
.Copyright © 2015 Couchbase, Inc.