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