public class StreamSpecCompiler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StreamSpecCompiler.FilterForFilterFactoryNodes |
Constructor and Description |
---|
StreamSpecCompiler() |
Modifier and Type | Method and Description |
---|---|
static StreamSpecCompiledDesc |
compile(StreamSpecRaw spec,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger,
String optionalStreamName,
int streamNum,
StatementRawInfo statementRawInfo,
StatementCompileTimeServices services) |
static StreamSpecCompiledDesc |
compileFilter(FilterStreamSpecRaw streamSpec,
String optionalStreamName,
StatementRawInfo statementRawInfo,
StatementCompileTimeServices services) |
static StreamSpecCompiled |
compileMethod(MethodStreamSpec methodStreamSpec) |
static StreamSpecCompiledDesc |
compilePattern(PatternStreamSpecRaw streamSpecRaw,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger,
int streamNum,
StatementRawInfo statementRawInfo,
StatementCompileTimeServices services) |
static StreamSpecCompiledDesc |
compilePatternWTags(PatternStreamSpecRaw streamSpecRaw,
MatchEventSpec tags,
Set<String> priorAllTags,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger,
int streamNum,
StatementRawInfo statementRawInfo,
StatementCompileTimeServices services) |
static EventType |
resolveTypeName(String eventTypeName,
EventTypeCompileTimeResolver eventTypeCompileTimeResolver) |
static boolean |
validateMatchUntil(ExprNode lowerBounds,
ExprNode upperBounds,
boolean isAllowLowerZero)
Validate.
|
public static StreamSpecCompiledDesc compile(StreamSpecRaw spec, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger, String optionalStreamName, int streamNum, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException
ExprValidationException
public static StreamSpecCompiledDesc compileFilter(FilterStreamSpecRaw streamSpec, String optionalStreamName, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException
ExprValidationException
public static StreamSpecCompiledDesc compilePattern(PatternStreamSpecRaw streamSpecRaw, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger, int streamNum, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException
ExprValidationException
public static StreamSpecCompiledDesc compilePatternWTags(PatternStreamSpecRaw streamSpecRaw, MatchEventSpec tags, Set<String> priorAllTags, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger, int streamNum, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException
ExprValidationException
public static StreamSpecCompiled compileMethod(MethodStreamSpec methodStreamSpec) throws ExprValidationException
ExprValidationException
public static EventType resolveTypeName(String eventTypeName, EventTypeCompileTimeResolver eventTypeCompileTimeResolver) throws ExprValidationException
ExprValidationException
public static boolean validateMatchUntil(ExprNode lowerBounds, ExprNode upperBounds, boolean isAllowLowerZero) throws ExprValidationException
lowerBounds
- is the lower bounds, or null if none suppliedupperBounds
- is the upper bounds, or null if none suppliedisAllowLowerZero
- true to allow zero value for lower rangeExprValidationException
- validation exCopyright © 2005–2022. All rights reserved.