net.esper.eql.core
Class SelectExprProcessorFactory
java.lang.Object
net.esper.eql.core.SelectExprProcessorFactory
public class SelectExprProcessorFactory
- extends java.lang.Object
Factory for select expression processors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectExprProcessorFactory
public SelectExprProcessorFactory()
getProcessor
public static SelectExprProcessor getProcessor(java.util.List<SelectExprElementNamedSpec> 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 validatedtypeService
- - serves stream type informationinsertIntoDesc
- - 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
verifyNameUniqueness
protected static void verifyNameUniqueness(java.util.List<SelectExprElementNamedSpec> selectionList)
throws ExprValidationException
- Verify that each given name occurs exactly one.
- Parameters:
selectionList
- is the list of select items to verify names
- Throws:
ExprValidationException
- thrown if a name occured more then once