Click or drag to resize

ConfigurationCompilerAddPlugInSingleRowFunction Method (String, String, String, ConfigurationCompilerPlugInSingleRowFunctionValueCacheEnum)

Adds a plug-in single-row function given a EPL function name, a class name, method name and setting for value-cache behavior.

The same function name cannot be added twice.

Namespace:  com.espertech.esper.common.client.configuration.compiler
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
public void AddPlugInSingleRowFunction(
	string functionName,
	string className,
	string methodName,
	ConfigurationCompilerPlugInSingleRowFunctionValueCacheEnum valueCache
)

Parameters

functionName
Type: SystemString
is the new single-row function name for use in EPL
className
Type: SystemString
is the fully-qualified class name of the class implementing the single-row function
methodName
Type: SystemString
is the public static method provided by the class that implements the single-row function
valueCache
Type: com.espertech.esper.common.client.configuration.compilerConfigurationCompilerPlugInSingleRowFunctionValueCacheEnum
set the behavior for caching the return value when constant parameters are provided
See Also