Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFGroupingRequest(TGroup) Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFGroupingRequest(TGroup) Class
Defines summaries to be performed on a grouped field.

Inheritance Hierarchy

SystemObject
  OSIsoft.AF.Data.AggregateAFAggregateRequest
    OSIsoft.AF.Data.AggregateAFGroupingRequestTGroup

Namespace:  OSIsoft.AF.Data.Aggregate
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public sealed class AFGroupingRequest<TGroup> : AFAggregateRequest
Public NotInheritable Class AFGroupingRequest(Of TGroup)
	Inherits AFAggregateRequest

Dim instance As AFGroupingRequest(Of TGroup)
generic<typename TGroup>
public ref class AFGroupingRequest sealed : public AFAggregateRequest
[<SealedAttribute>]
type AFGroupingRequest<'TGroup> =  
    class
        inherit AFAggregateRequest
    end

Type Parameters

TGroup
The type to convert the field values to and group by.

The AFGroupingRequestTGroup type exposes the following members.

Constructors

Properties

  NameDescription
Public property
Description
A description of this aggregate.
(Overrides AFAggregateRequestDescription.)
Public property
Field
The field that will be aggregated
(Inherited from AFAggregateRequest.)
Public property
MaximumGroups
The maximum number of groups permitted. Any groups beyond this limit will register as out of range.
Public property
SubAggregate
The summary that will be performed on the grouped data.
(Overrides AFAggregateRequestSubAggregate.)
Public property
SummaryRequest
The summary that should be performed on each group.

Methods

  NameDescription
Public method
BinByTBin(String, IEnumerableTBin)
Creates a compound grouping with this aggregate partitioned into bins of the specified field.
Public method
BinByTBin(String, IEnumerableTBin, UOM)
Creates a compound grouping with this aggregate partitioned into bins of the specified field.
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
GroupBy(String)
Creates a compound grouping with this aggregate grouped by values of the specified field.
Public method
GroupByTPrimaryGroup(String)
Creates a compound grouping with this aggregate grouped by values of the specified field.
Public method
GroupByTPrimaryGroup(String, Int32)
Creates a compound grouping with this aggregate grouped by values of the specified field.
Public method
ToString
Returns a string that represents the current object.
(Inherited from Object.)

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9

See Also

TitleResults for “How to create a CRG?”Also Available in