Package org.wso2.siddhi.extension.string
Class TrimFunctionExtension
java.lang.Object
org.wso2.siddhi.core.executor.function.FunctionExecutor
org.wso2.siddhi.extension.string.TrimFunctionExtension
- 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 TrimFunctionExtension
extends org.wso2.siddhi.core.executor.function.FunctionExecutor
trim(string)
Returns a copy of the string, with leading and trailing whitespace omitted.
Accept Type(s): STRING
Return Type(s): STRING
-
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
-
TrimFunctionExtension
public TrimFunctionExtension()
-
-
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
-