Table of Contents

Class WorkflowExecutionCount

Namespace
Temporalio.Client
Assembly
Temporalio.dll

Representation of a count from a count workflows call.

public class WorkflowExecutionCount
Inheritance
WorkflowExecutionCount
Inherited Members

Constructors

WorkflowExecutionCount(CountWorkflowExecutionsResponse)

Initializes a new instance of the WorkflowExecutionCount class.

protected WorkflowExecutionCount(CountWorkflowExecutionsResponse raw)

Parameters

raw CountWorkflowExecutionsResponse

Raw proto.

Remarks

WARNING: This constructor may be mutated in backwards incompatible ways.

Properties

Count

Gets the approximate number of workflows matching the original query. If the query had a group-by clause, this is simply the sum of all the counts in Groups.

public long Count { get; }

Property Value

long

Groups

Gets the groups if the query had a group-by clause, or empty if not.

public IReadOnlyCollection<WorkflowExecutionCount.AggregationGroup> Groups { get; }

Property Value

IReadOnlyCollection<WorkflowExecutionCount.AggregationGroup>