@Override
    public Attribute.Type getReturnType() {
        return returnType;
    }
Executor class for convert function. Function execution logic is implemented in execute here.
modules/siddhi-core/src/main/java/io/siddhi/core/executor/function/ConvertFunctionExecutor.java