net.esper.eql.expression
Class SelectExprProcessorFactory

java.lang.Object
  extended by net.esper.eql.expression.SelectExprProcessorFactory

public class SelectExprProcessorFactory
extends Object

Factory for select expression processors.


Constructor Summary
SelectExprProcessorFactory()
           
 
Method Summary
static SelectExprProcessor getProcessor(List<SelectExprElement> selectionList, InsertIntoDesc insertIntoDesc, StreamTypeService typeService, EventAdapterService eventAdapterService)
          Returns the processor to use for a given select-clause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectExprProcessorFactory

public SelectExprProcessorFactory()
Method Detail

getProcessor

public static SelectExprProcessor getProcessor(List<SelectExprElement> selectionList,
                                               InsertIntoDesc insertIntoDesc,
                                               StreamTypeService typeService,
                                               EventAdapterService eventAdapterService)
                                        throws ExprValidationException
Returns the processor to use for a given select-clause.

Parameters:
selectionList - - the list of select clause elements/items, which are expected to have been validated
typeService - - serves stream type information
insertIntoDesc - - contains column names for the optional insert-into clause (if supplied)
eventAdapterService - - for generating wrapper instances for events
Returns:
select-clause expression processor
Throws:
ExprValidationException - to indicate the select expression cannot be validated