Class: Temporalio::Client::ActivityExecutionCount
- Inherits:
-
Object
- Object
- Temporalio::Client::ActivityExecutionCount
- Defined in:
- lib/temporalio/client/activity_execution_count.rb
Overview
Result of a #count_activities call.
WARNING: Standalone Activities are experimental.
Defined Under Namespace
Classes: AggregationGroup
Instance Attribute Summary collapse
-
#count ⇒ Integer
readonly
Approximate number of activities matching the query.
-
#groups ⇒ Array<AggregationGroup>
readonly
Groups if the query had a group-by clause, or empty if not.
Instance Attribute Details
#count ⇒ Integer (readonly)
Returns Approximate number of activities matching the query. If the query had a group-by clause, this is the sum of all the counts in #groups.
11 12 13 |
# File 'lib/temporalio/client/activity_execution_count.rb', line 11 def count @count end |
#groups ⇒ Array<AggregationGroup> (readonly)
Returns Groups if the query had a group-by clause, or empty if not.
14 15 16 |
# File 'lib/temporalio/client/activity_execution_count.rb', line 14 def groups @groups end |