public interface AggregatorFactory
Class responsible for creating aggregators.
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()Returns the key for the aggregator used by the output flow.inthashCode()newAggregator(List<String> inputNames, ScalarTokenType[] inputs) Create a new aggregator for the given inputs.
-
Method Details
-
getKey
String getKey()Returns the key for the aggregator used by the output flow. This determines the prefix to use for output names.- Returns:
- the key for the aggregator used by the output flow.
-
newAggregator
Create a new aggregator for the given inputs. Factory should return the implementation appropriate for the input types.- Parameters:
inputNames- The input names; used for error reportinginputs- The inputs to the aggregator- Returns:
- a new aggregator for the given inputs
-
equals
-
hashCode
int hashCode()
-