Class SearchService.SearchServiceClient
Client for SearchService
Inheritance
SearchService.SearchServiceClient
Inherited Members
Namespace: Couchbase.Protostellar.Search.V1
Assembly: Couchbase.NetClient.dll
Syntax
public class SearchService.SearchServiceClient : ClientBase<SearchService.SearchServiceClient>
Constructors
| Edit this page View SourceSearchServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected SearchServiceClient()
SearchServiceClient(CallInvoker)
Creates a new client for SearchService that uses a custom CallInvoker
.
Declaration
public SearchServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
Call |
callInvoker | The callInvoker to use to make remote calls. |
SearchServiceClient(ChannelBase)
Creates a new client for SearchService
Declaration
public SearchServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
Channel |
channel | The channel to use to make remote calls. |
SearchServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected SearchServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Client |
configuration | The client configuration. |
Methods
| Edit this page View SourceNewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override SearchService.SearchServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Client |
configuration |
Returns
Type | Description |
---|---|
Search |
Overrides
| Edit this page View SourceSearchQuery(SearchQueryRequest, CallOptions)
Declaration
public virtual AsyncServerStreamingCall<SearchQueryResponse> SearchQuery(SearchQueryRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Search |
request | |
Call |
options |
Returns
Type | Description |
---|---|
Async |
SearchQuery(SearchQueryRequest, Metadata, DateTime?, CancellationToken)
Declaration
public virtual AsyncServerStreamingCall<SearchQueryResponse> SearchQuery(SearchQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Search |
request | |
Metadata | headers | |
Date |
deadline | |
Cancellation |
cancellationToken |
Returns
Type | Description |
---|---|
Async |