Class QueryRuntimeImpl

    • Method Detail

      • addCallback

        public void addCallback​(QueryCallback callback)
      • removeCallback

        public void removeCallback​(QueryCallback callback)
      • getOutputStreamDefinition

        public io.siddhi.query.api.definition.StreamDefinition getOutputStreamDefinition()
      • getInputStreamId

        public List<String> getInputStreamId()
      • isToLocalStream

        public boolean isToLocalStream()
      • setToLocalStream

        public void setToLocalStream​(boolean toLocalStream)
      • isFromLocalStream

        public boolean isFromLocalStream()
      • getQuery

        public io.siddhi.query.api.execution.query.Query getQuery()
        Specified by:
        getQuery in interface QueryRuntime
      • init

        public void init()
      • initPartition

        public void initPartition()
      • 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.
        Specified by:
        start in interface ExternalReferencedHolder
      • 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.
        Specified by:
        stop in interface ExternalReferencedHolder