public class StreamSpecCompiler extends Object
Constructor and Description |
---|
StreamSpecCompiler() |
Modifier and Type | Method and Description |
---|---|
static StreamSpecCompiledDesc |
compile(StreamSpecRaw spec,
Set<String> eventTypeReferences,
boolean isInsertInto,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger,
String optionalStreamName,
int streamNum,
StatementRawInfo statementRawInfo,
StatementCompileTimeServices services) |
static StreamSpecCompiledDesc |
compileFilter(FilterStreamSpecRaw streamSpec,
boolean isInsertInto,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger,
String optionalStreamName,
StatementRawInfo statementRawInfo,
StatementCompileTimeServices services) |
static StreamSpecCompiled |
compileMethod(MethodStreamSpec methodStreamSpec) |
static StreamSpecCompiledDesc |
compilePattern(PatternStreamSpecRaw streamSpecRaw,
Set<String> eventTypeReferences,
boolean isInsertInto,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger,
String optionalStreamName,
int streamNum,
StatementRawInfo statementRawInfo,
StatementCompileTimeServices services) |
static StreamSpecCompiledDesc |
compilePatternWTags(PatternStreamSpecRaw streamSpecRaw,
Set<String> eventTypeReferences,
boolean isInsertInto,
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, Set<String> eventTypeReferences, boolean isInsertInto, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger, String optionalStreamName, int streamNum, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException
ExprValidationException
public static StreamSpecCompiledDesc compileFilter(FilterStreamSpecRaw streamSpec, boolean isInsertInto, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger, String optionalStreamName, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException
ExprValidationException
public static StreamSpecCompiledDesc compilePattern(PatternStreamSpecRaw streamSpecRaw, Set<String> eventTypeReferences, boolean isInsertInto, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger, String optionalStreamName, int streamNum, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException
ExprValidationException
public static StreamSpecCompiledDesc compilePatternWTags(PatternStreamSpecRaw streamSpecRaw, Set<String> eventTypeReferences, boolean isInsertInto, 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–2019. All rights reserved.