Package org.wso2.siddhi.extension.string
Class StrcmpFunctionExtension
java.lang.Object
org.wso2.siddhi.core.executor.function.FunctionExecutor
org.wso2.siddhi.extension.string.StrcmpFunctionExtension
- 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 StrcmpFunctionExtension
extends org.wso2.siddhi.core.executor.function.FunctionExecutor
strcmp(string, compareTo)
Compares two strings lexicographically.
Accept Type(s): (STRING,STRING)
Return Type(s): INT
-
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
-
StrcmpFunctionExtension
public StrcmpFunctionExtension()
-
-
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
-