Table of Contents

IGQIFactory interface

Definition

  • Namespace: Skyline.DataMiner.Analytics.GenericInterface
  • Assembly: SLAnalyticsTypes.dll

This interface provides various methods to create objects that can be used to communicate with the core GQI framework. An implementation of this interface can be obtained via the Factory property on the OnInitInputArgs passed in the OnInit life cycle method.

Available from DataMiner 10.4.5/10.5.0 onwards.

Methods

IGQISortField CreateSortField(IGQIColumn, GQISortDirection = GQISortDirection.Ascending)

Creates an IGQISortField that defines a column to sort on, along with a sort direction. One or more of these sort fields can be used to construct an IGQISortOperator.

Parameters

  • IGQIColumn column: The column to sort on.
  • GQISortDirection direction: Optional. Whether to sort values from smallest to largest or the other way around. By default, GQISortDirection.Ascending is used.

Returns

An implementation of IGQISortField that represents a sort operation on the given column with the given sort direction.

IGQISortOperator CreateSortOperator(params IGQISortField[])

Creates an IGQISortOperator that defines a sort operation on one or more sort fields. Can be used to implement custom sort behaviors during the Optimize life cycle method.

Parameters

  • IGQISortField[] fields: The sort fields that define the individual columns to sort on.

Returns

An implementation of IGQISortOperator that represents a sort operation on the given sort fields, or null when there are no sort fields.