|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.core.SelectExprEvalProcessorStreams
public class SelectExprEvalProcessorStreams
Processor for select-clause expressions that handles a list of selection items represented by expression nodes. Computes results based on matching events.
Constructor Summary | |
---|---|
SelectExprEvalProcessorStreams(List<SelectExprElementCompiledSpec> selectionList,
List<SelectExprElementStreamCompiledSpec> selectedStreams,
InsertIntoDesc insertIntoDesc,
boolean isUsingWildcard,
StreamTypeService typeService,
EventAdapterService eventAdapterService)
Ctor. |
Method Summary | |
---|---|
EventType |
getResultEventType()
Returns the event type that represents the select-clause items. |
EventBean |
process(EventBean[] eventsPerStream,
boolean isNewData)
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 SelectExprEvalProcessorStreams(List<SelectExprElementCompiledSpec> selectionList, List<SelectExprElementStreamCompiledSpec> selectedStreams, InsertIntoDesc insertIntoDesc, boolean isUsingWildcard, StreamTypeService typeService, EventAdapterService eventAdapterService) 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 typesselectedStreams
- - list of stream selectors (e.g. select alias.* from Event as alias)
ExprValidationException
- thrown if any of the expressions don't validateMethod Detail |
---|
public EventBean process(EventBean[] eventsPerStream, boolean isNewData)
SelectExprProcessor
process
in interface SelectExprProcessor
eventsPerStream
- - is per stream the eventisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)
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 |