net.esper.eql.core
Class SelectExprProcessorFactory
java.lang.Object
net.esper.eql.core.SelectExprProcessorFactory
public class SelectExprProcessorFactory
- extends 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(List<SelectExprElementNamedSpec> selectionList,
boolean isUsingWildcard,
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 validatedisUsingWildcard
- - true if the wildcard (*) occurs in the select clauseinsertIntoDesc
- - contains column names for the optional insert-into clause (if supplied)typeService
- - serves stream type informationeventAdapterService
- - 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(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