Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.wlrt.ede
Interface Statement

public interface Statement
extends com.bea.wlrt.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
`String` | `getId()` Retrieve the ID of the statement
`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.wlrt.ede.api.EventSinkManager
`addEventSink, getEventSinks, removeEventSink`

Methods inherited from interface com.bea.wlrt.ede.api.EventSender
`sendEvent`

Method Detail

### getId

    public String getId()

  Retrieve the ID of the statement

  Returns:
    ID of the statement

### getQuery

    public 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 | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD