@Override
    public Attribute.Type getReturnType() {
        return Attribute.Type.OBJECT;
    }
return set object, containing only one element: data.

@param data  array of Double values
@param state
@return the set object
modules/siddhi-core/src/main/java/io/siddhi/core/executor/function/CreateSetFunctionExecutor.java