Example #1
0
        public JoinSetComposerStreamToWinImpl(
            bool allowInitIndex,
            IDictionary<TableLookupIndexReqKey, EventTable>[] repositories,
            bool isPureSelfJoin,
            int streamNumber,
            QueryStrategy queryStrategy,
            bool[] selfJoinRepositoryResets)
        {
            this.allowInitIndex = allowInitIndex;
            this.repositories = JoinSetComposerUtil.ToArray(repositories);
            this.streamNumber = streamNumber;
            this.queryStrategy = queryStrategy;

            this.selfJoinRepositoryResets = selfJoinRepositoryResets;
            if (isPureSelfJoin) {
                isResetSelfJoinRepositories = true;
                CompatExtensions.Fill(selfJoinRepositoryResets, true);
            }
            else {
                var flag = false;
                foreach (var selfJoinRepositoryReset in selfJoinRepositoryResets) {
                    flag |= selfJoinRepositoryReset;
                }

                isResetSelfJoinRepositories = flag;
            }
        }
Example #2
0
 public JoinSetComposerHistoricalImpl(
     bool allowInitIndex,
     IDictionary<TableLookupIndexReqKey, EventTable>[] repositories,
     QueryStrategy[] queryStrategies,
     Viewable[] streamViews,
     ExprEvaluatorContext staticEvalExprEvaluatorContext)
 {
     this.allowInitIndex = allowInitIndex;
     this.repositories = JoinSetComposerUtil.ToArray(repositories, streamViews.Length);
     QueryStrategies = queryStrategies;
     this.streamViews = streamViews;
     this.staticEvalExprEvaluatorContext = staticEvalExprEvaluatorContext;
 }
Example #3
0
 public JoinSetComposerImpl(
     bool allowInitIndex,
     IDictionary<TableLookupIndexReqKey, EventTable>[] repositories,
     QueryStrategy[] queryStrategies,
     bool isPureSelfJoin,
     ExprEvaluatorContext exprEvaluatorContext,
     bool joinRemoveStream)
 {
     this.allowInitIndex = allowInitIndex;
     this.repositories = JoinSetComposerUtil.ToArray(repositories);
     this.queryStrategies = queryStrategies;
     this.isPureSelfJoin = isPureSelfJoin;
     this.exprEvaluatorContext = exprEvaluatorContext;
     this.joinRemoveStream = joinRemoveStream;
 }