Class CEPEsperProcessor.Subscriber

  • Enclosing class:
    CEPEsperProcessor

    public static class CEPEsperProcessor.Subscriber
    extends Object
    A Subscriber class that subscribes to the query statement results and emits them out to the flow that requested that statement.
    • Constructor Detail

      • Subscriber

        private Subscriber​(DataEmitterSupport inSupport)
        Creates a new instance.
        Parameters:
        inSupport - the handle to emit data for the data flow.
    • Method Detail

      • update

        public void update​(Map<?,​?> inMap)
        Receives data from the statement as a map. If the map contains a single value, that value is extracted and emitted. Otherwise, the received value, including nulls, is emitted as is.
        Parameters:
        inMap - the map of values containing results of the statement.