Show / Hide Table of Contents

Enum CosmosQueryEventKind

Distinguishes the three kinds of events that CosmosQueryDiagnostics can represent. Sinks use the kind to route, filter, and aggregate events.

Namespace: Benday.CosmosDb.Diagnostics
Assembly: Benday.CosmosDb.dll
Syntax
public enum CosmosQueryEventKind

Fields

Name Description
FeedResponsePage

One page of results from a multi-page feed iterator read. Emitted once per page for both LINQ queries and raw-SQL queries.

PointOperation

A single-document operation: save, delete, or point-read.

QueryTotal

The aggregate total for a completed query. Emitted exactly once per top-level query execution, regardless of how many FeedResponsePage events preceded it. For scalar operations (CountAsync, FirstOrDefaultAsync via ExecuteScalarAsync) this is the only event emitted.

  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com