return query(query.toString());
}
@Override
public Observable<AsyncQueryResult> query(final String query) {
GenericQueryRequest request = new GenericQueryRequest(query, bucket, password);
return core
.<GenericQueryResponse>send(request)
.flatMap(new Func1<GenericQueryResponse, Observable<AsyncQueryResult>>() {
@Override
public Observable<AsyncQueryResult> call(final GenericQueryResponse response) {