public class StatementSpecMapper extends Object
Constructor and Description |
---|
StatementSpecMapper() |
Modifier and Type | Method and Description |
---|---|
static StatementSpecRaw |
map(EPStatementObjectModel sodaStatement,
EngineImportService engineImportService,
VariableService variableService,
ConfigurationInformation configuration,
SchedulingService schedulingService,
String engineURI,
PatternNodeFactory patternNodeFactory,
NamedWindowMgmtService namedWindowMgmtService,
ContextManagementService contextManagementService,
ExprDeclaredService exprDeclaredService,
TableService tableService) |
static List<AnnotationDesc> |
mapAnnotations(List<AnnotationPart> annotations) |
static AnnotationPart |
unmap(AnnotationDesc node)
Unmap annotation.
|
static PatternExpr |
unmap(EvalFactoryNode node)
Unmap pattern.
|
static Expression |
unmap(ExprNode expression)
Unmap expresission.
|
static MatchRecognizeRegEx |
unmap(RowRegexExprNode pattern)
Unmap match recognize pattern.
|
static StatementSpecUnMapResult |
unmap(StatementSpecRaw statementSpec)
Maps the internal representation of a statement to the SODA object model.
|
public static Expression unmap(ExprNode expression)
expression
- to unmappublic static PatternExpr unmap(EvalFactoryNode node)
node
- to unmappublic static AnnotationPart unmap(AnnotationDesc node)
node
- to unmappublic static MatchRecognizeRegEx unmap(RowRegexExprNode pattern)
pattern
- recognize pattern to unmappublic static StatementSpecRaw map(EPStatementObjectModel sodaStatement, EngineImportService engineImportService, VariableService variableService, ConfigurationInformation configuration, SchedulingService schedulingService, String engineURI, PatternNodeFactory patternNodeFactory, NamedWindowMgmtService namedWindowMgmtService, ContextManagementService contextManagementService, ExprDeclaredService exprDeclaredService, TableService tableService)
public static StatementSpecUnMapResult unmap(StatementSpecRaw statementSpec)
statementSpec
- is the internal representationpublic static List<AnnotationDesc> mapAnnotations(List<AnnotationPart> annotations)