Table of Contents

Building blocks of a custom operator

A custom operator implements predefined interfaces that act as building blocks that each add a desired functionality and that can be combined together to form the operator.

The IGQIRowOperator, IGQIColumnOperator, and IGQIOptimizableOperator interfaces are used to identify the class as a custom operator. At least one of them should be implemented for the class to be detected by GQI as a custom operator.

All other interfaces add additional functionality.

Interfaces

The available interfaces are:

  • IGQIColumnOperator: Makes it possible to manipulate the columns.

  • IGQIRowOperator: Makes it possible to manipulate the rows.

  • IGQIInputArguments: Retrieves input from the user through input arguments.

  • IGQIOnDestroy: Can be implemented to clean up resources after it has been used (available from DataMiner 10.4.5/10.5.0 onwards).

  • IGQIOnInit: Provides a way to initialize the custom operator with access to dependencies like the DMS (available from DataMiner 10.4.5/10.5.0 onwards).

  • IGQIOptimizableOperator: Used in order to optimize the custom operator based on other operators in a query.