public class ConfigurationPlugInSingleRowFunction extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
ConfigurationPlugInSingleRowFunction()
Ctor.
|
ConfigurationPlugInSingleRowFunction(String name,
String functionClassName,
String functionMethodName,
ConfigurationPlugInSingleRowFunction.ValueCache valueCache,
ConfigurationPlugInSingleRowFunction.FilterOptimizable filterOptimizable,
boolean rethrowExceptions,
String eventTypeName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getEventTypeName()
Returns the event type name for functions that return
EventBean instances. |
ConfigurationPlugInSingleRowFunction.FilterOptimizable |
getFilterOptimizable()
Returns filter optimization settings.
|
String |
getFunctionClassName()
Returns the single-row function name.
|
String |
getFunctionMethodName()
Returns the name of the single-row function.
|
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 |
setEventTypeName(String eventTypeName)
Sets the event type name for functions that return
EventBean instances. |
void |
setFilterOptimizable(ConfigurationPlugInSingleRowFunction.FilterOptimizable filterOptimizable)
Sets filter optimization settings.
|
void |
setFunctionClassName(String functionClassName)
Sets the single-row function's implementation class name.
|
void |
setFunctionMethodName(String functionMethodName)
Sets the name of the single-row function.
|
void |
setName(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.
|
public ConfigurationPlugInSingleRowFunction(String name, String functionClassName, String functionMethodName, ConfigurationPlugInSingleRowFunction.ValueCache valueCache, ConfigurationPlugInSingleRowFunction.FilterOptimizable filterOptimizable, boolean rethrowExceptions, String eventTypeName)
name
- UDF namefunctionClassName
- class namefunctionMethodName
- method namevalueCache
- value cachefilterOptimizable
- optimizable settingrethrowExceptions
- rethrow settingeventTypeName
- optional event type namepublic ConfigurationPlugInSingleRowFunction()
public String getName()
public void setName(String name)
name
- to setpublic String getFunctionClassName()
public void setFunctionClassName(String functionClassName)
functionClassName
- is the implementation class namepublic String getFunctionMethodName()
public void setFunctionMethodName(String functionMethodName)
functionMethodName
- single-row function namepublic ConfigurationPlugInSingleRowFunction.ValueCache getValueCache()
public void setValueCache(ConfigurationPlugInSingleRowFunction.ValueCache valueCache)
valueCache
- cache behaviorpublic ConfigurationPlugInSingleRowFunction.FilterOptimizable getFilterOptimizable()
public void setFilterOptimizable(ConfigurationPlugInSingleRowFunction.FilterOptimizable filterOptimizable)
filterOptimizable
- filter optimization settingspublic boolean isRethrowExceptions()
public void setRethrowExceptions(boolean rethrowExceptions)
rethrowExceptions
- indicatorpublic String getEventTypeName()
EventBean
instances.