Class Pol2CartStreamFunctionProcessor

    • Constructor Detail

      • Pol2CartStreamFunctionProcessor

        public Pol2CartStreamFunctionProcessor()
    • Method Detail

      • init

        protected StateFactory init​(io.siddhi.query.api.definition.AbstractDefinition inputDefinition,
                                    ExpressionExecutor[] attributeExpressionExecutors,
                                    ConfigReader configReader,
                                    boolean outputExpectsExpiredEvents,
                                    SiddhiQueryContext siddhiQueryContext)
        The init method of the StreamFunction
        Specified by:
        init in class StreamFunctionProcessor
        Parameters:
        inputDefinition - the incoming stream definition
        attributeExpressionExecutors - the executors for the function parameters
        siddhiQueryContext - siddhi query context
        configReader - this hold the StreamFunctionProcessor extensions configuration reader.
        outputExpectsExpiredEvents - is expired events sent as output
        Returns:
        the additional output attributes introduced by the function
      • process

        protected Object[] process​(Object[] data)
        The process method of the StreamFunction, used when multiple function parameters are provided
        Specified by:
        process in class StreamFunctionProcessor
        Parameters:
        data - the data values for the function parameters
        Returns:
        the date for additional output attributes introduced by the function
      • process

        protected Object[] process​(Object data)
        The process method of the StreamFunction, used when single function parameter is provided
        Specified by:
        process in class StreamFunctionProcessor
        Parameters:
        data - the data value for the function parameter
        Returns:
        the date for additional output attribute introduced by the function
      • start

        public void start()
        Description copied from interface: ExternalReferencedHolder
        This will be called only once and this can be used to acquire required resources for the processing element. This will be called after initializing the system and before starting to process the events.
      • stop

        public void stop()
        Description copied from interface: ExternalReferencedHolder
        This will be called only once and this can be used to release the acquired resources for processing. This will be called before shutting down the system.