Class ConfigurationCompilerPlugInSingleRowFunction

java.lang.Object
com.espertech.esper.common.client.configuration.compiler.ConfigurationCompilerPlugInSingleRowFunction
All Implemented Interfaces:
Serializable

public class ConfigurationCompilerPlugInSingleRowFunction extends Object implements Serializable
Configuration information for plugging in a custom single-row function.
See Also:
  • Constructor Details

    • ConfigurationCompilerPlugInSingleRowFunction

      public ConfigurationCompilerPlugInSingleRowFunction(String name, String functionClassName, String functionMethodName, ConfigurationCompilerPlugInSingleRowFunction.ValueCache valueCache, ConfigurationCompilerPlugInSingleRowFunction.FilterOptimizable filterOptimizable, boolean rethrowExceptions, String eventTypeName)
      Ctor.
      Parameters:
      name - UDF name
      functionClassName - class name
      functionMethodName - method name
      valueCache - value cache
      filterOptimizable - optimizable setting
      rethrowExceptions - rethrow setting
      eventTypeName - optional event type name
    • ConfigurationCompilerPlugInSingleRowFunction

      public ConfigurationCompilerPlugInSingleRowFunction()
      Ctor.
  • Method Details

    • getName

      public String getName()
      Returns the single-row function name for use in EPL.
      Returns:
      single-row function name
    • setName

      public void setName(String name)
      Sets the single-row function name for use in EPL.
      Parameters:
      name - to set
    • getFunctionClassName

      public String getFunctionClassName()
      Returns the single-row function name.
      Returns:
      name
    • setFunctionClassName

      public void setFunctionClassName(String functionClassName)
      Sets the single-row function's implementation class name.
      Parameters:
      functionClassName - is the implementation class name
    • getFunctionMethodName

      public String getFunctionMethodName()
      Returns the name of the single-row function.
      Returns:
      function name
    • setFunctionMethodName

      public void setFunctionMethodName(String functionMethodName)
      Sets the name of the single-row function.
      Parameters:
      functionMethodName - single-row function name
    • getValueCache

      Returns the setting for the cache behavior.
      Returns:
      cache behavior
    • setValueCache

      public void setValueCache(ConfigurationCompilerPlugInSingleRowFunction.ValueCache valueCache)
      Sets the cache behavior.
      Parameters:
      valueCache - cache behavior
    • getFilterOptimizable

      Returns filter optimization settings.
      Returns:
      filter optimization settings
    • setFilterOptimizable

      public void setFilterOptimizable(ConfigurationCompilerPlugInSingleRowFunction.FilterOptimizable filterOptimizable)
      Sets filter optimization settings.
      Parameters:
      filterOptimizable - filter optimization settings
    • isRethrowExceptions

      public boolean isRethrowExceptions()
      Returns indicator whether the runtime re-throws exceptions thrown by the single-row function. The default is false therefore the runtime by default does not rethrow exceptions.
      Returns:
      indicator
    • setRethrowExceptions

      public void setRethrowExceptions(boolean rethrowExceptions)
      Sets indicator whether the runtime re-throws exceptions thrown by the single-row function. The default is false therefore the runtime by default does not rethrow exceptions.
      Parameters:
      rethrowExceptions - indicator
    • getEventTypeName

      public String getEventTypeName()
      Returns the event type name for functions that return EventBean instances.
      Returns:
      event type name
    • setEventTypeName

      public void setEventTypeName(String eventTypeName)
      Sets the event type name for functions that return EventBean instances.
      Parameters:
      eventTypeName - event type name