|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.core.SelectExprEvalProcessor
public class SelectExprEvalProcessor
Processor for select-clause expressions that handles a list of selection items represented by expression nodes. Computes results based on matching events.
Constructor Summary | |
---|---|
SelectExprEvalProcessor(List<SelectClauseExprCompiledSpec> selectionList,
InsertIntoDesc insertIntoDesc,
boolean isUsingWildcard,
StreamTypeService typeService,
EventAdapterService eventAdapterService,
ValueAddEventService revisionService)
Ctor. |
Method Summary | |
---|---|
EventType |
getResultEventType()
Returns the event type that represents the select-clause items. |
EventBean |
process(EventBean[] eventsPerStream,
boolean isNewData,
boolean isSynthesize)
Computes the select-clause results and returns an event of the result event type that contains, in it's properties, the selected items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectExprEvalProcessor(List<SelectClauseExprCompiledSpec> selectionList, InsertIntoDesc insertIntoDesc, boolean isUsingWildcard, StreamTypeService typeService, EventAdapterService eventAdapterService, ValueAddEventService revisionService) throws ExprValidationException
selectionList
- - list of select-clause itemsinsertIntoDesc
- - descriptor for insert-into clause contains column names overriding select clause namesisUsingWildcard
- - true if the wildcard (*) appears in the select clausetypeService
- -service for information about streamseventAdapterService
- - service for generating events and handling event typesrevisionService
- - service that handles update events
ExprValidationException
- thrown if any of the expressions don't validateMethod Detail |
---|
public EventBean process(EventBean[] eventsPerStream, boolean isNewData, boolean isSynthesize)
SelectExprProcessor
process
in interface SelectExprProcessor
eventsPerStream
- - is per stream the eventisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)isSynthesize
- - set to true to indicate that synthetic events are required for an iterator result set
public EventType getResultEventType()
SelectExprProcessor
getResultEventType
in interface SelectExprProcessor
|
© 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 |