Class ActivityExecutionCount
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Representation of a count from a count activities call.
public class ActivityExecutionCount
- Inheritance
-
ActivityExecutionCount
- Inherited Members
Remarks
WARNING: Standalone activities are experimental.
Constructors
ActivityExecutionCount(CountActivityExecutionsResponse)
Initializes a new instance of the ActivityExecutionCount class.
protected ActivityExecutionCount(CountActivityExecutionsResponse raw)
Parameters
rawCountActivityExecutionsResponseRaw proto.
Remarks
WARNING: This constructor may be mutated in backwards incompatible ways.
Properties
Count
Gets the approximate number of activities 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
Groups
Gets the groups if the query had a group-by clause, or empty if not.
public IReadOnlyCollection<ActivityExecutionCount.AggregationGroup> Groups { get; }