|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.spec.StreamSpecBase
com.espertech.esper.epl.spec.FilterStreamSpecRaw
public class FilterStreamSpecRaw
Unvalided filter-based stream specification.
Constructor Summary | |
---|---|
FilterStreamSpecRaw()
Default ctor. |
|
FilterStreamSpecRaw(FilterSpecRaw rawFilterSpec,
ViewSpec[] viewSpecs,
java.lang.String optionalStreamName,
StreamSpecOptions streamSpecOptions)
Ctor. |
Method Summary | |
---|---|
StreamSpecCompiled |
compile(StatementContext context,
java.util.Set<java.lang.String> eventTypeReferences,
boolean isInsertInto,
java.util.Collection<java.lang.Integer> assignedTypeNumberStack,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger)
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. |
static EventType |
resolveType(java.lang.String engineURI,
java.lang.String eventName,
EventAdapterService eventAdapterService,
java.net.URI[] optionalResolutionURIs)
Resolves a given event name to an event type. |
Methods inherited from class com.espertech.esper.epl.spec.StreamSpecBase |
---|
getOptionalStreamName, getOptions, getViewSpecs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.epl.spec.StreamSpec |
---|
getOptionalStreamName, getOptions, getViewSpecs |
Constructor Detail |
---|
public FilterStreamSpecRaw(FilterSpecRaw rawFilterSpec, ViewSpec[] viewSpecs, java.lang.String optionalStreamName, StreamSpecOptions streamSpecOptions)
rawFilterSpec
- is unvalidated filter specificationviewSpecs
- is the view definitionoptionalStreamName
- is the stream name if supplied, or null if not suppliedstreamSpecOptions
- - additional options, such as unidirectional stream in a joinpublic FilterStreamSpecRaw()
Method Detail |
---|
public FilterSpecRaw getRawFilterSpec()
public StreamSpecCompiled compile(StatementContext context, java.util.Set<java.lang.String> eventTypeReferences, boolean isInsertInto, java.util.Collection<java.lang.Integer> assignedTypeNumberStack, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger) throws ExprValidationException
StreamSpecRaw
compile
in interface StreamSpecRaw
context
- statement-level serviceseventTypeReferences
- event type names used by the statementisInsertInto
- true for insert-intoisJoin
- indicates whether a join or not a joinisContextDeclaration
- indicates whether declared as part of the context declarations, if any
ExprValidationException
- to indicate validation errorspublic static EventType resolveType(java.lang.String engineURI, java.lang.String eventName, EventAdapterService eventAdapterService, java.net.URI[] optionalResolutionURIs) throws ExprValidationException
eventName
- is the name to resolveeventAdapterService
- for resolving event typesengineURI
- the provider URIoptionalResolutionURIs
- is URIs for resolving the event name against plug-inn event representations, if any
ExprValidationException
- if the info cannot be resolved
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |