Interface IUserDefinedAggregation

All Superinterfaces:
IGenericAggregation, IMultiSourceAggregation, Serializable
All Known Implementing Classes:
AUserDefinedAggregation, AUserDefinedVectorAggregation

public interface IUserDefinedAggregation extends IMultiSourceAggregation
Interface for user-defined aggregations.

The classes implementing this interface will bind multiple sources to a single destination structure. The destination structures are expected to be adapted for receiving the multiple data.

Author:
ActiveViam
  • Method Details

    • getBufferTypes

      int[] getBufferTypes()
      Returns the type of the aggregation buffers.
      Returns:
      The type of the aggregation buffers
    • getTerminateFunction

      SerializableFunction<IArrayReader,?> getTerminateFunction()
      Returns the function to apply on the aggregation buffers to compute the final results.
      Returns:
      the function to apply on the aggregation buffers to compute the final results.