Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class AnalyticsRequest

Inheritance
object
RequestBase
AnalyticsRequest
Implements
IRequest
Inherited Members
RequestBase.LogOrphaned()
RequestBase.Attempts
RequestBase.RetryStrategy
RequestBase.Timeout
RequestBase.Elapsed
RequestBase.Token
RequestBase.ClientContextId
RequestBase.RetryReasons
RequestBase.Statement
RequestBase.Recorder
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Analytics
Assembly: Couchbase.NetClient.dll
Syntax
public class AnalyticsRequest : RequestBase, IRequest

Constructors

View Source

AnalyticsRequest(bool)

Declaration
public AnalyticsRequest(bool idempotent)
Parameters
Type Name Description
bool idempotent

Properties

View Source

Idempotent

Declaration
public override bool Idempotent { get; }
Property Value
Type Description
bool
Overrides
RequestBase.Idempotent
View Source

Options

Declaration
public AnalyticsOptions? Options { get; set; }
Property Value
Type Description
AnalyticsOptions

Methods

View Source

Create(string, AnalyticsOptions)

Declaration
public static AnalyticsRequest Create(string statement, AnalyticsOptions options)
Parameters
Type Name Description
string statement
AnalyticsOptions options
Returns
Type Description
AnalyticsRequest
View Source

Create(string, IValueRecorder, AnalyticsOptions)

Declaration
[Obsolete("Use the overload without IValueRecorder, this overload will be removed in a future version.")]
public static AnalyticsRequest Create(string statement, IValueRecorder recorder, AnalyticsOptions options)
Parameters
Type Name Description
string statement
IValueRecorder recorder
AnalyticsOptions options
Returns
Type Description
AnalyticsRequest
View Source

StopRecording()

Stops the operation timer and writes the elapsed milliseconds to the IValueRecorder.

Declaration
public override sealed void StopRecording()
Overrides
RequestBase.StopRecording()
View Source

StopRecording(Type?)

Declaration
public override sealed void StopRecording(Type? errorType)
Parameters
Type Name Description
Type errorType
Overrides
RequestBase.StopRecording(Type?)

Implements

IRequest

Extension Methods

RequestExtensions.IncrementAttempts(IRequest, RetryReason)
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.