Beispiel #1
0
 /// <summary>
 /// Ctor.
 /// </summary>
 public StatementSpecCompiled()
 {
     OnTriggerDesc        = null;
     CreateWindowDesc     = null;
     CreateIndexDesc      = null;
     CreateVariableDesc   = null;
     CreateTableDesc      = null;
     CreateSchemaDesc     = null;
     InsertIntoDesc       = null;
     SelectStreamDirEnum  = SelectClauseStreamSelectorEnum.RSTREAM_ISTREAM_BOTH;
     SelectClauseSpec     = new SelectClauseSpecCompiled(false);
     StreamSpecs          = StreamSpecCompiledConstants.EMPTY_STREAM_ARRAY;
     OuterJoinDescList    = OuterJoinDesc.EMPTY_OUTERJOIN_ARRAY;
     FilterExprRootNode   = null;
     HavingExprRootNode   = null;
     OutputLimitSpec      = null;
     OrderByList          = OrderByItem.EMPTY_ORDERBY_ARRAY;
     SubSelectExpressions = ExprSubselectNode.EMPTY_SUBSELECT_ARRAY;
     DeclaredExpressions  = ExprNodeUtility.EMPTY_DECLARED_ARR;
     Scripts              = ExprNodeUtility.EMPTY_SCRIPTS;
     VariableReferences   = new HashSet <string>();
     RowLimitSpec         = null;
     EventTypeReferences  = new string[0];
     Annotations          = new Attribute[0];
     UpdateSpec           = null;
     MatchRecognizeSpec   = null;
     ForClauseSpec        = null;
     SqlParameters        = null;
     ContextDesc          = null;
     OptionalContextName  = null;
     CreateGraphDesc      = null;
     CreateExpressionDesc = null;
     FireAndForgetSpec    = null;
     GroupByExpressions   = null;
     IntoTableSpec        = null;
     TableNodes           = null;
 }
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="onTriggerDesc">describes on-delete statements</param>
 /// <param name="createWindowDesc">describes create-window statements</param>
 /// <param name="createIndexDesc">when an index get</param>
 /// <param name="createVariableDesc">describes create-variable statements</param>
 /// <param name="createTableDesc">The create table desc.</param>
 /// <param name="createSchemaDesc">The create schema desc.</param>
 /// <param name="insertIntoDesc">insert into def</param>
 /// <param name="selectClauseStreamSelectorEnum">stream selection</param>
 /// <param name="selectClauseSpec">select clause</param>
 /// <param name="streamSpecs">specs for streams</param>
 /// <param name="outerJoinDescList">outer join def</param>
 /// <param name="filterExprRootNode">where filter expr nodes</param>
 /// <param name="havingExprRootNode">having expression</param>
 /// <param name="outputLimitSpec">output limit</param>
 /// <param name="orderByList">order by</param>
 /// <param name="subSelectExpressions">list of subqueries</param>
 /// <param name="declaredExpressions">The declared expressions.</param>
 /// <param name="variableReferences">variables referenced</param>
 /// <param name="rowLimitSpec">row limit specification, or null if none supplied</param>
 /// <param name="eventTypeReferences">event type names statically determined</param>
 /// <param name="annotations">statement annotations</param>
 /// <param name="updateSpec">update specification if used</param>
 /// <param name="matchRecognizeSpec">if provided</param>
 /// <param name="forClauseSpec">For clause spec.</param>
 /// <param name="sqlParameters">The SQL parameters.</param>
 /// <param name="contextDesc">The context desc.</param>
 /// <param name="optionalContextName">Name of the optional context.</param>
 /// <param name="createGraphDesc">The create graph desc.</param>
 /// <param name="createExpressionDesc">The create expression desc.</param>
 /// <param name="fireAndForgetSpec">The fire and forget spec.</param>
 /// <param name="groupByExpressions">The group by expressions.</param>
 /// <param name="intoTableSpec">The into table spec.</param>
 /// <param name="tableNodes">The table nodes.</param>
 public StatementSpecCompiled(OnTriggerDesc onTriggerDesc,
                              CreateWindowDesc createWindowDesc,
                              CreateIndexDesc createIndexDesc,
                              CreateVariableDesc createVariableDesc,
                              CreateTableDesc createTableDesc,
                              CreateSchemaDesc createSchemaDesc,
                              InsertIntoDesc insertIntoDesc,
                              SelectClauseStreamSelectorEnum selectClauseStreamSelectorEnum,
                              SelectClauseSpecCompiled selectClauseSpec,
                              StreamSpecCompiled[] streamSpecs,
                              OuterJoinDesc[] outerJoinDescList,
                              ExprNode filterExprRootNode,
                              ExprNode havingExprRootNode,
                              OutputLimitSpec outputLimitSpec,
                              OrderByItem[] orderByList,
                              ExprSubselectNode[] subSelectExpressions,
                              ExprDeclaredNode[] declaredExpressions,
                              ICollection <string> variableReferences,
                              RowLimitSpec rowLimitSpec,
                              string[] eventTypeReferences,
                              Attribute[] annotations,
                              UpdateDesc updateSpec,
                              MatchRecognizeSpec matchRecognizeSpec,
                              ForClauseSpec forClauseSpec,
                              IDictionary <int, IList <ExprNode> > sqlParameters,
                              CreateContextDesc contextDesc,
                              string optionalContextName,
                              CreateDataFlowDesc createGraphDesc,
                              CreateExpressionDesc createExpressionDesc,
                              FireAndForgetSpec fireAndForgetSpec,
                              GroupByClauseExpressions groupByExpressions,
                              IntoTableSpec intoTableSpec,
                              ExprTableAccessNode[] tableNodes)
 {
     OnTriggerDesc             = onTriggerDesc;
     CreateWindowDesc          = createWindowDesc;
     CreateIndexDesc           = createIndexDesc;
     CreateVariableDesc        = createVariableDesc;
     CreateTableDesc           = createTableDesc;
     CreateSchemaDesc          = createSchemaDesc;
     InsertIntoDesc            = insertIntoDesc;
     SelectStreamDirEnum       = selectClauseStreamSelectorEnum;
     SelectClauseSpec          = selectClauseSpec;
     StreamSpecs               = streamSpecs;
     OuterJoinDescList         = outerJoinDescList;
     FilterExprRootNode        = filterExprRootNode;
     HavingExprRootNode        = havingExprRootNode;
     OutputLimitSpec           = outputLimitSpec;
     OrderByList               = orderByList;
     this.SubSelectExpressions = subSelectExpressions;
     DeclaredExpressions       = declaredExpressions;
     VariableReferences        = variableReferences;
     RowLimitSpec              = rowLimitSpec;
     EventTypeReferences       = eventTypeReferences;
     Annotations               = annotations;
     UpdateSpec           = updateSpec;
     MatchRecognizeSpec   = matchRecognizeSpec;
     ForClauseSpec        = forClauseSpec;
     SqlParameters        = sqlParameters;
     ContextDesc          = contextDesc;
     OptionalContextName  = optionalContextName;
     CreateGraphDesc      = createGraphDesc;
     CreateExpressionDesc = createExpressionDesc;
     FireAndForgetSpec    = fireAndForgetSpec;
     GroupByExpressions   = groupByExpressions;
     IntoTableSpec        = intoTableSpec;
     TableNodes           = tableNodes;
 }