com.espertech.esper.client
Class ConfigurationPlugInSingleRowFunction

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationPlugInSingleRowFunction
All Implemented Interfaces:
java.io.Serializable

public class ConfigurationPlugInSingleRowFunction
extends java.lang.Object
implements java.io.Serializable

Configuration information for plugging in a custom single-row function.

See Also:
Serialized Form

Nested Class Summary
static class ConfigurationPlugInSingleRowFunction.FilterOptimizable
          Controls whether a single-row function is eligible for optimization if it occurs in a filter expression.
static class ConfigurationPlugInSingleRowFunction.ValueCache
          Enum for single-row function value cache setting.
 
Constructor Summary
ConfigurationPlugInSingleRowFunction()
          Ctor.
 
Method Summary
 ConfigurationPlugInSingleRowFunction.FilterOptimizable getFilterOptimizable()
          Returns filter optimization settings.
 java.lang.String getFunctionClassName()
          Returns the single-row function name.
 java.lang.String getFunctionMethodName()
          Returns the name of the single-row function.
 java.lang.String getName()
          Returns the single-row function name for use in EPL.
 ConfigurationPlugInSingleRowFunction.ValueCache getValueCache()
          Returns the setting for the cache behavior.
 boolean isRethrowExceptions()
          Returns indicator whether the engine re-throws exceptions thrown by the single-row function.
 void setFilterOptimizable(ConfigurationPlugInSingleRowFunction.FilterOptimizable filterOptimizable)
          Sets filter optimization settings.
 void setFunctionClassName(java.lang.String functionClassName)
          Sets the single-row function's implementation class name.
 void setFunctionMethodName(java.lang.String functionMethodName)
          Sets the name of the single-row function.
 void setName(java.lang.String name)
          Sets the single-row function name for use in EPL.
 void setRethrowExceptions(boolean rethrowExceptions)
          Sets indicator whether the engine re-throws exceptions thrown by the single-row function.
 void setValueCache(ConfigurationPlugInSingleRowFunction.ValueCache valueCache)
          Sets the cache behavior.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationPlugInSingleRowFunction

public ConfigurationPlugInSingleRowFunction()
Ctor.

Method Detail

getName

public java.lang.String getName()
Returns the single-row function name for use in EPL.

Returns:
single-row function name

setName

public void setName(java.lang.String name)
Sets the single-row function name for use in EPL.

Parameters:
name - to set

getFunctionClassName

public java.lang.String getFunctionClassName()
Returns the single-row function name.

Returns:
name

setFunctionClassName

public void setFunctionClassName(java.lang.String functionClassName)
Sets the single-row function's implementation class name.

Parameters:
functionClassName - is the implementation class name

getFunctionMethodName

public java.lang.String getFunctionMethodName()
Returns the name of the single-row function.

Returns:
function name

setFunctionMethodName

public void setFunctionMethodName(java.lang.String functionMethodName)
Sets the name of the single-row function.

Parameters:
functionMethodName - single-row function name

getValueCache

public ConfigurationPlugInSingleRowFunction.ValueCache getValueCache()
Returns the setting for the cache behavior.

Returns:
cache behavior

setValueCache

public void setValueCache(ConfigurationPlugInSingleRowFunction.ValueCache valueCache)
Sets the cache behavior.

Parameters:
valueCache - cache behavior

getFilterOptimizable

public ConfigurationPlugInSingleRowFunction.FilterOptimizable getFilterOptimizable()
Returns filter optimization settings.

Returns:
filter optimization settings

setFilterOptimizable

public void setFilterOptimizable(ConfigurationPlugInSingleRowFunction.FilterOptimizable filterOptimizable)
Sets filter optimization settings.

Parameters:
filterOptimizable - filter optimization settings

isRethrowExceptions

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

Returns:
indicator

setRethrowExceptions

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

Parameters:
rethrowExceptions - indicator

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com