|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.spec.StreamSpecBase
net.esper.eql.spec.FilterStreamSpecRaw
public class FilterStreamSpecRaw
Unvalided filter-based stream specification.
Constructor Summary | |
---|---|
FilterStreamSpecRaw()
Default ctor. |
|
FilterStreamSpecRaw(FilterSpecRaw rawFilterSpec,
List<ViewSpec> viewSpecs,
String optionalStreamName)
Ctor. |
Method Summary | |
---|---|
StreamSpecCompiled |
compile(EventAdapterService eventAdapterService,
MethodResolutionService methodResolutionService,
PatternObjectResolutionService patternObjectResolutionService)
Compiles a raw stream specification consisting event type information and filter expressions to an validated, optimized form for use with filter service |
FilterSpecRaw |
getRawFilterSpec()
Returns the unvalided filter spec. |
protected static EventType |
resolveType(String eventName,
EventAdapterService eventAdapterService)
Resolves a given event alias to an event type. |
Methods inherited from class net.esper.eql.spec.StreamSpecBase |
---|
getOptionalStreamName, getViewSpecs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.esper.eql.spec.StreamSpec |
---|
getOptionalStreamName, getViewSpecs |
Constructor Detail |
---|
public FilterStreamSpecRaw(FilterSpecRaw rawFilterSpec, List<ViewSpec> viewSpecs, String optionalStreamName)
rawFilterSpec
- is unvalidated filter specificationviewSpecs
- is the view definitionoptionalStreamName
- is the stream name if supplied, or null if not suppliedpublic FilterStreamSpecRaw()
Method Detail |
---|
public FilterSpecRaw getRawFilterSpec()
public StreamSpecCompiled compile(EventAdapterService eventAdapterService, MethodResolutionService methodResolutionService, PatternObjectResolutionService patternObjectResolutionService) throws ExprValidationException
StreamSpecRaw
compile
in interface StreamSpecRaw
eventAdapterService
- supplies type informationmethodResolutionService
- for resolving importspatternObjectResolutionService
- for resolving pattern objects
ExprValidationException
- to indicate validation errorsprotected static EventType resolveType(String eventName, EventAdapterService eventAdapterService) throws ExprValidationException
eventName
- is the alias to resolveeventAdapterService
- for resolving event types
ExprValidationException
- if the info cannot be resolved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |