Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing
11g Release 1 (11.1.1.4.0)

E14303-04
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.bea.wlevs.ede.api
Interface Statement

All Known Subinterfaces:
BoundStatement, PreparedStatement

public interface Statement
extends com.bea.wlevs.ede.api.EventSinkManager

Represent a single compiled query. Listeners may directly register for receiving the streaming events that are the result of continuously executing the query. This is simlar to registering to a stream, but filtered to a single query.


Method Summary
 void destroy()
          Permanently destroys statement and removes its reference in the processor
 java.lang.String getId()
          Retrieve the ID of the statement
 java.lang.String getQuery()
          Retrieve the query string of the statement
 void start()
          Starts a statement that has previously been stopped.
 void stop()
          Stops statement making it inactive.

 

Methods inherited from interface com.bea.wlevs.ede.api.EventSender
sendEvent

 

Methods inherited from interface com.bea.wlevs.ede.api.BatchRelationSender
sendEvents

 

Methods inherited from interface com.bea.wlevs.ede.api.BatchStreamSender
sendInsertEvents

 

Methods inherited from interface com.bea.wlevs.ede.api.RelationSender
sendDeleteEvent, sendUpdateEvent

 

Method Detail

getId

public java.lang.String getId()
Retrieve the ID of the statement
Returns:
ID of the statement

getQuery

public java.lang.String getQuery()
Retrieve the query string of the statement
Returns:
query string of the statement

start

public void start()
Starts a statement that has previously been stopped. Note that when a query is compiled, it is also automatically started.

stop

public void stop()
Stops statement making it inactive. The statement may be started again using the start method.

destroy

public void destroy()
Permanently destroys statement and removes its reference in the processor

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD