Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class IngestOptions

    Inheritance
    object
    IngestOptions
    Inherited Members
    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 IngestOptions

    Constructors

    | Edit this page View Source

    IngestOptions()

    Declaration
    public IngestOptions()

    Methods

    | Edit this page View Source

    CancellationToken(CancellationToken)

    An optional cancellation token to use for the query.

    Declaration
    public IngestOptions CancellationToken(CancellationToken token)
    Parameters
    Type Name Description
    CancellationToken token
    Returns
    Type Description
    IngestOptions
    | Edit this page View Source

    Expiry(TimeSpan)

    The lifetime of the documents ingested by Couchbase. Overrides the default of zero (0) or infinite lifespan.

    Declaration
    public IngestOptions Expiry(TimeSpan expiry)
    Parameters
    Type Name Description
    TimeSpan expiry
    Returns
    Type Description
    IngestOptions
    | Edit this page View Source

    IdGenerator(Func<dynamic, string>)

    Overrides the default Guid based key generator.

    Declaration
    public IngestOptions IdGenerator(Func<dynamic, string> idGenerator)
    Parameters
    Type Name Description
    Func<dynamic, string> idGenerator

    A Func{string} that generates a valid Couchbase server key.

    Returns
    Type Description
    IngestOptions
    | Edit this page View Source

    IngestMethod(IngestMethod)

    The ingest method to use when ingesting into Couchbase. Insert, Replace and Upsert are supported.

    Declaration
    public IngestOptions IngestMethod(IngestMethod ingestMethod)
    Parameters
    Type Name Description
    IngestMethod ingestMethod
    Returns
    Type Description
    IngestOptions
    | Edit this page View Source

    Timeout(TimeSpan)

    The maximum time for the query to run. Overrides the default timeout of 75s.

    Declaration
    public IngestOptions Timeout(TimeSpan timeout)
    Parameters
    Type Name Description
    TimeSpan timeout
    Returns
    Type Description
    IngestOptions
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.