Table of Contents

Class CloudBatchUpsertOperation

Namespace
Excalibur.Data.CloudNative
Assembly
Excalibur.Data.Abstractions.dll

Batch operation that writes a document whether or not one already exists at the id.

public sealed class CloudBatchUpsertOperation : ICloudBatchDocumentOperation, ICloudBatchOperation
Inheritance
CloudBatchUpsertOperation
Implements
Inherited Members

Constructors

CloudBatchUpsertOperation(string, object)

Batch operation that writes a document whether or not one already exists at the id.

public CloudBatchUpsertOperation(string documentId, object document)

Parameters

documentId string

The document id to write.

document object

The document to write.

Properties

Document

Gets the document the operation writes.

public object Document { get; }

Property Value

object

DocumentId

Gets the document ID for the operation.

public string DocumentId { get; }

Property Value

string

OperationType

Gets the operation type.

public CloudBatchOperationType OperationType { get; }

Property Value

CloudBatchOperationType