Package org.wso2.siddhi.extension.string
Class RegexpFunctionExtension
java.lang.Object
org.wso2.siddhi.core.executor.function.FunctionExecutor
org.wso2.siddhi.extension.string.RegexpFunctionExtension
- All Implemented Interfaces:
org.wso2.siddhi.core.executor.ExpressionExecutor,org.wso2.siddhi.core.util.extension.holder.EternalReferencedHolder,org.wso2.siddhi.core.util.snapshot.Snapshotable
public class RegexpFunctionExtension
extends org.wso2.siddhi.core.executor.function.FunctionExecutor
regexp(string, regex)
Tells whether or not this 'string' matches the given regular expression 'regex'.
Accept Type(s): (STRING,STRING)
Return Type(s): BOOLEAN
-
Field Summary
Fields inherited from class org.wso2.siddhi.core.executor.function.FunctionExecutor
attributeExpressionExecutors, elementId, executionPlanContext, queryName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]protected Objectprotected Objectorg.wso2.siddhi.query.api.definition.Attribute.Typeprotected voidinit(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors, org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext) voidrestoreState(Object[] state) voidstart()voidstop()Methods inherited from class org.wso2.siddhi.core.executor.function.FunctionExecutor
cloneExecutor, execute, getElementId, initExecutor
-
Constructor Details
-
RegexpFunctionExtension
public RegexpFunctionExtension()
-
-
Method Details
-
init
protected void init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors, org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext) - Specified by:
initin classorg.wso2.siddhi.core.executor.function.FunctionExecutor
-
execute
- Specified by:
executein classorg.wso2.siddhi.core.executor.function.FunctionExecutor
-
execute
- Specified by:
executein classorg.wso2.siddhi.core.executor.function.FunctionExecutor
-
start
public void start() -
stop
public void stop() -
getReturnType
public org.wso2.siddhi.query.api.definition.Attribute.Type getReturnType() -
currentState
-
restoreState
-