Package com.qfs.agg
Interface IAggregation
- All Superinterfaces:
IGenericAggregation,Serializable
- All Known Implementing Classes:
AAggregation,HistoryAggregation
An aggregation that is binding a single-field source with its destination aggregates.
-
Method Summary
Modifier and TypeMethodDescriptionbindSource(IArrayReader source, IArrayWriter aggregates) Binds a source of data that contains raw data elements with a destination data structure that contains aggregates.default IAggregationBindingbindSources(IArrayReader[] sources, IArrayWriter aggregates) Binds sources of data that contain raw data elements with a destination data structure that contains aggregates.Returns the associatedfunction.Returns the name of the input field on which this aggregation is being performed.intReturns thetypeof the source data.Returns the identifiers used to retrieve the data sources needed as sources of this aggregation.default int[]Returns thetypesof the data sources of this aggregation.Methods inherited from interface com.qfs.agg.IGenericAggregation
bindAggregates, createChunkFactory, getAggregatedDataType, writeReplace
-
Method Details
-
getFieldName
String getFieldName()Returns the name of the input field on which this aggregation is being performed. -
getSourceIdentifiers
Description copied from interface:IGenericAggregationReturns the identifiers used to retrieve the data sources needed as sources of this aggregation.- Specified by:
getSourceIdentifiersin interfaceIGenericAggregation
-
getInputDataType
int getInputDataType()Returns thetypeof the source data.- Returns:
- The
typeof the source data
-
getSourceTypes
default int[] getSourceTypes()Description copied from interface:IGenericAggregationReturns thetypesof the data sources of this aggregation.- Specified by:
getSourceTypesin interfaceIGenericAggregation
-
bindSource
Binds a source of data that contains raw data elements with a destination data structure that contains aggregates.- Parameters:
source- The source array of raw dataaggregates- The target aggregates array- Returns:
- The
binding
-
bindSources
Description copied from interface:IGenericAggregationBinds sources of data that contain raw data elements with a destination data structure that contains aggregates.- Specified by:
bindSourcesin interfaceIGenericAggregation- Parameters:
sources- The source array of raw data. Must be correlated (size and order) with this aggregation'ssource types.aggregates- The target aggregates array- Returns:
- The
binding
-
getAggregationFunction
IAggregationFunction getAggregationFunction()Description copied from interface:IGenericAggregationReturns the associatedfunction.- Specified by:
getAggregationFunctionin interfaceIGenericAggregation
-