Package com.activeviam.agg
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int[]getBufferTypes()Returns thetypeof the aggregation buffers.SerializableFunction<IArrayReader,?>getTerminateFunction()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, writeReplace
-
Methods inherited from interface com.qfs.agg.IMultiSourceAggregation
getAggregationFunction
-
-
-
-
Method Detail
-
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.
-
-