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