|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.pollindex.PollResultIndexingStrategyIndexCoerceSingle
public class PollResultIndexingStrategyIndexCoerceSingle
Strategy for building an index out of poll-results knowing the properties to base the index on, and their coercion types.
Constructor Summary | |
---|---|
PollResultIndexingStrategyIndexCoerceSingle(int streamNum,
EventType eventType,
java.lang.String propertyName,
java.lang.Class coercionType)
Ctor. |
Method Summary | |
---|---|
EventTable[] |
index(java.util.List<EventBean> pollResult,
boolean isActiveCache)
Build and index of a poll result. |
java.lang.String |
toQueryPlan()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PollResultIndexingStrategyIndexCoerceSingle(int streamNum, EventType eventType, java.lang.String propertyName, java.lang.Class coercionType)
streamNum
- is the stream number of the indexed streameventType
- is the event type of the indexed streamMethod Detail |
---|
public EventTable[] index(java.util.List<EventBean> pollResult, boolean isActiveCache)
PollResultIndexingStrategy
index
in interface PollResultIndexingStrategy
pollResult
- result of a poll operationisActiveCache
- true to indicate that caching is active and therefore index building makes sense as
the index structure is not a throw-away.
public java.lang.String toQueryPlan()
toQueryPlan
in interface PollResultIndexingStrategy
|
© 2006-2015 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 |