Package com.activeviam.agg
Interface IUserDefinedAggregation
- All Superinterfaces:
IGenericAggregation,IMultiSourceAggregation,Serializable
- All Known Implementing Classes:
AUserDefinedAggregation,AUserDefinedVectorAggregation
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 Summary
Modifier and TypeMethodDescriptionint[]Returns thetypeof the aggregation buffers.Returns the function to apply on the aggregation buffers to compute the final results.Methods inherited from interface com.qfs.agg.IGenericAggregation
bindAggregates, bindSources, createChunkFactory, getAggregatedDataType, getSourceIdentifiers, getSourceTypes, writeReplaceMethods inherited from interface com.qfs.agg.IMultiSourceAggregation
getAggregationFunction
-
Method Details
-
getBufferTypes
int[] getBufferTypes()Returns thetypeof the aggregation buffers.- Returns:
- The
typeof 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.
-