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