Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class AnalyticsRequest

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

    Constructors

    | Edit this page View Source

    AnalyticsRequest(bool)

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

    Properties

    | Edit this page View Source

    Idempotent

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

    Options

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

    Methods

    | Edit this page 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
    | Edit this page 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
    | Edit this page View Source

    StopRecording()

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

    Declaration
    public override sealed void StopRecording()
    Overrides
    RequestBase.StopRecording()
    | Edit this page 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)
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.