Class AggregationFunctionModeManaged

java.lang.Object
com.espertech.esper.common.client.hook.aggfunc.AggregationFunctionModeManaged
All Implemented Interfaces:
AggregationFunctionMode

public class AggregationFunctionModeManaged extends Object implements 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 Details

    • AggregationFunctionModeManaged

      public AggregationFunctionModeManaged()
      Ctor.
  • Method Details

    • getInjectionStrategyAggregationFunctionFactory

      public InjectionStrategy 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 by getSerde()
      Returns:
      ha-indicator
    • setHasHA

      public AggregationFunctionModeManaged setHasHA(boolean hasHA)
      Sets indicator whether a serializer-deserialize to provide read and write methods is provided by getSerde()
      Parameters:
      hasHA - ha-indicator
      Returns:
      itself
    • getSerde

      public Class getSerde()
      Returns the class providing the serde
      Returns:
      serde class
    • setSerde

      public AggregationFunctionModeManaged setSerde(Class serde)
      Sets the class providing the serde
      Parameters:
      serde - serde class
      Returns:
      itself