|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.named.NamedWindowIndexRepository
public class NamedWindowIndexRepository
A repository of index tables for use with a single named window and all it's deleting statements that may use the indexes to correlate triggering events with indexed events of the named window.
Maintains index tables and keeps a reference count for user. Allows reuse of indexes for multiple deleting statements.
Constructor Summary | |
---|---|
NamedWindowIndexRepository()
Ctor. |
Method Summary | |
---|---|
PropertyIndexedEventTable |
addTable(JoinedPropDesc[] joinedPropDesc,
Iterable<EventBean> prefilledEvents,
EventType indexedType,
boolean mustCoerce)
Create a new index table or use an existing index table, by matching the join descriptor properties to an existing table. |
void |
destroy()
Destroy indexes. |
List<EventTable> |
getTables()
Returns a list of current index tables in the repository. |
void |
removeTableReference(EventTable table)
Remove a reference to an index table, decreasing its reference count. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedWindowIndexRepository()
Method Detail |
---|
public PropertyIndexedEventTable addTable(JoinedPropDesc[] joinedPropDesc, Iterable<EventBean> prefilledEvents, EventType indexedType, boolean mustCoerce)
joinedPropDesc
- must be in sorted natural order and define the properties joinedprefilledEvents
- is the events to enter into a new table, if a new table is createdindexedType
- is the type of event to hold in the indexmustCoerce
- is an indicator whether coercion is required or not.
public void removeTableReference(EventTable table)
table
- to remove a reference topublic List<EventTable> getTables()
public void destroy()
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |