|
Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing 11g Release 1 (11.1.1.4.0) E14303-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A channel for accessing a collection of persistent events that are to be treated as a unit for purposes of event capture and query.
Method Summary | |
void |
capture(java.util.List events, java.lang.String recordSessionId) Appends the specified events to this event store, with no transactional guarantee. |
void |
capture(java.util.List events, java.lang.String recordSessinId, EventStoreTransaction transaction) Appends the specified events to this event store as part of the specified transaction, or not part of any transaction if transaction is null. |
EventStoreTransaction |
createTransaction() Creates a transaction that may be used to treat a series of capture or query operations atomically. |
EventStoreCursor |
query(EventStoreQuery query) Retrieves events from this event store according to the specified provider-specific query. |
EventStoreCursor |
query(EventStoreQuery query, EventStoreTransaction transaction) Retrieves events from this event store according to the specified provider-specific query. |
EventStoreCursor |
query(java.lang.String query) Retrieves events from this event store according to the specified provider-independent query. |
EventStoreCursor |
query(java.lang.String query, EventStoreTransaction transaction) Retrieves events from this event store according to the specified provider-independent query. |
Method Detail |
public EventStoreTransaction createTransaction() throws EventStoreException
public void capture(java.util.List events, java.lang.String recordSessinId, EventStoreTransaction transaction) throws EventStoreException
events
- the events to add to this event store.recordSessionId
- if this is being stored as part of a specific recording session, specify the session id here. It may be null otherwise.transaction
- the transaction within which events are to be added, or null if these events are to be added with no transactional guarantee.public void capture(java.util.List events, java.lang.String recordSessionId) throws EventStoreException
capture
with a null second argument.events
- the events to add to this event store.recordSessionId
- if this is being stored as part of a specific recording session, specify the session id here. It may be null otherwise.public EventStoreCursor query(java.lang.String query, EventStoreTransaction transaction) throws EventStoreException
query
- the specification of the events to retrieve, in the EPL-like query languagetransaction
- the transaction within which events are to be queried, or null if the query is not part of any transaction.public EventStoreCursor query(java.lang.String query) throws EventStoreException
query
with a null second argument.query
- the specification of the events to retrieve, in the EPL-like query languagepublic EventStoreCursor query(EventStoreQuery query, EventStoreTransaction transaction) throws EventStoreException
EventStoreQuery
made available by the provider in use.query
- the specification of the events to retrievetransaction
- the transaction within which events are to be queried, or null if the query is not part of any transaction.public EventStoreCursor query(EventStoreQuery query) throws EventStoreException
EventStoreQuery
made available by the provider in use. Equivalent to calling query
with a null second argument.query
- the specification of the events to retrieve
|
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 |