Class AggregationFunctionModeManaged
java.lang.Object
com.espertech.esper.common.client.hook.aggfunc.AggregationFunctionModeManaged
- All Implemented Interfaces:
AggregationFunctionMode
Use this class to provide an aggregation function wherein there is no need to write code that generates code,
wherein the aggregation function takes a single parameter and
wherein the compiler handles filtering and distinct.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the injection strategy for the aggregation function factorygetSerde()
Returns the class providing the serdeboolean
isHasHA()
Returns indicator whether a serializer-deserialize to provide read and write methods is provided bygetSerde()
setHasHA
(boolean hasHA) Sets indicator whether a serializer-deserialize to provide read and write methods is provided bygetSerde()
Sets the injection strategy for the aggregation function factorySets the class providing the serde
-
Constructor Details
-
AggregationFunctionModeManaged
public AggregationFunctionModeManaged()Ctor.
-
-
Method Details
-
getInjectionStrategyAggregationFunctionFactory
Returns the injection strategy for the aggregation function factory- Returns:
- strategy
-
setInjectionStrategyAggregationFunctionFactory
public AggregationFunctionModeManaged setInjectionStrategyAggregationFunctionFactory(InjectionStrategy strategy) Sets the injection strategy for the aggregation function factory- Parameters:
strategy
- strategy- Returns:
- itself
-
isHasHA
public boolean isHasHA()Returns indicator whether a serializer-deserialize to provide read and write methods is provided bygetSerde()
- Returns:
- ha-indicator
-
setHasHA
Sets indicator whether a serializer-deserialize to provide read and write methods is provided bygetSerde()
- Parameters:
hasHA
- ha-indicator- Returns:
- itself
-
getSerde
Returns the class providing the serde- Returns:
- serde class
-
setSerde
Sets the class providing the serde- Parameters:
serde
- serde class- Returns:
- itself
-