Package com.qfs.agg

Interface IMultiSourceAggregationFunction

    • Method Detail

      • retrieveType

        static int retrieveType​(String pluginKey,
                                int[] sourceTypes)
        Retrieves the aggregated data-type of an IMultiSourceAggregationFunction from its plugin key.
        Parameters:
        pluginKey - the aggregation function's plugin key
        sourceTypes - the data types of the elements to be aggregated
        Returns:
        the type of the elements aggregated by the given aggregation function
      • createAggregation

        IMultiSourceAggregation createAggregation​(List<String> sourceIdentifiers,
                                                  int[] sourceTypes)
        Description copied from interface: IGenericAggregationFunction
        Creates an IGenericAggregation that can bind a list of data structures to a single destination data structure.

        The created aggregation is specialized for the given source identifiers, which can then be used to retrieve the correct source data structures to bind with a destination.

        The two given collections must have the same size.

        Specified by:
        createAggregation in interface IGenericAggregationFunction
        Parameters:
        sourceIdentifiers - A way to identify the source data structures
        sourceTypes - The data types of the elements to be aggregated
        Returns:
        the newly created aggregation, tailored for the given identifiers and types