public class SearchQueryExecutor extends Object
Contains the full execution logic for a search query.
| 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)
Executes the given SearchQuery.
query - the query to executetimeout - the timeout for the querytimeUnit - the timeunit for the timeoutObservable eventually containing the AsyncSearchQueryResult.Copyright © 2015 Couchbase, Inc.