|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.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<SelectExprElementNamedSpec> selectionList,
InsertIntoDesc insertIntoDesc,
EventAdapterService eventAdapterService)
Ctor. |
Method Summary | |
---|---|
EventType |
getResultEventType()
Returns the event type that represents the select-clause items. |
EventBean |
process(EventBean[] eventsPerStream)
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<SelectExprElementNamedSpec> selectionList, InsertIntoDesc insertIntoDesc, EventAdapterService eventAdapterService) throws ExprValidationException
selectionList
- - list of select-clause itemseventAdapterService
- - service for generating events and handling event typesinsertIntoDesc
- - descriptor for insert-into clause contains column names overriding select clause names
ExprValidationException
- thrown if any of the expressions don't validateMethod Detail |
---|
public EventBean process(EventBean[] eventsPerStream)
SelectExprProcessor
process
in interface SelectExprProcessor
public EventType getResultEventType()
SelectExprProcessor
getResultEventType
in interface SelectExprProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |