Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | 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`

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

Copyright © 2007 BEA Systems All Rights Reserved.