com.espertech.esper.epl.spec
Interface StreamSpecRaw

All Superinterfaces:
MetaDefItem, java.io.Serializable, StreamSpec
All Known Implementing Classes:
DBStatementStreamSpec, FilterStreamSpecRaw, MethodStreamSpec, PatternStreamSpecRaw

public interface StreamSpecRaw
extends StreamSpec

An uncompiled, unoptimize for of stream specification created by a parser.


Method Summary
 StreamSpecCompiled compile(StatementContext statementContext, 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
 
Methods inherited from interface com.espertech.esper.epl.spec.StreamSpec
getOptionalStreamName, getOptions, getViewSpecs
 

Method Detail

compile

StreamSpecCompiled compile(StatementContext statementContext,
                           java.util.Set<java.lang.String> eventTypeReferences,
                           boolean isInsertInto,
                           java.util.Collection<java.lang.Integer> assignedTypeNumberStack,
                           boolean isJoin,
                           boolean isContextDeclaration,
                           boolean isOnTrigger)
                           throws ExprValidationException
Compiles a raw stream specification consisting event type information and filter expressions to an validated, optimized form for use with filter service

Parameters:
statementContext - statement-level services
eventTypeReferences - event type names used by the statement
isInsertInto - true for insert-into
isJoin - indicates whether a join or not a join
isContextDeclaration - indicates whether declared as part of the context declarations, if any
isOnTrigger -
Returns:
compiled stream
Throws:
ExprValidationException - to indicate validation errors

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com