public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
        {
            var timeDeltaComputation  = _timeDeltaComputationFactory.Make(ViewName, "view", agentInstanceViewFactoryContext.AgentInstanceContext);
            var viewUpdatedCollection = agentInstanceViewFactoryContext.StatementContext.ViewServicePreviousFactory.GetOptPreviousExprRelativeAccess(agentInstanceViewFactoryContext);

            return(new ExternallyTimedBatchView(this, _timestampExpression, _timestampExpressionEval, timeDeltaComputation, _optionalReferencePoint, viewUpdatedCollection, agentInstanceViewFactoryContext));
        }
Beispiel #2
0
 public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
 {
     ExprTimePeriodEvalDeltaConst timeDeltaComputation = _timeDeltaComputationFactory.Make(
         ViewName, "view", agentInstanceViewFactoryContext.AgentInstanceContext);
     ViewUpdatedCollection randomAccess =
         agentInstanceViewFactoryContext.StatementContext.ViewServicePreviousFactory
             .GetOptPreviousExprRandomAccess(agentInstanceViewFactoryContext);
     return new TimeWindowView(agentInstanceViewFactoryContext, this, timeDeltaComputation, randomAccess);
 }
        public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
        {
            var timeDeltaComputation = _timeDeltaComputationFactory.Make(
                ViewName, "view", agentInstanceViewFactoryContext.AgentInstanceContext);
            var randomAccess =
                agentInstanceViewFactoryContext.StatementContext.ViewServicePreviousFactory
                .GetOptPreviousExprRandomAccess(agentInstanceViewFactoryContext);

            return(new ExternallyTimedWindowView(
                       this, _timestampExpression, _timestampExpressionEval, timeDeltaComputation, randomAccess,
                       agentInstanceViewFactoryContext));
        }
Beispiel #4
0
        public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
        {
            var timeDeltaComputation = _timeDeltaComputationFactory.Make(
                ViewName, "view", agentInstanceViewFactoryContext.AgentInstanceContext);
            var sortedRandomAccess =
                agentInstanceViewFactoryContext.StatementContext.ViewServicePreviousFactory
                .GetOptPreviousExprSortedRankedAccess(agentInstanceViewFactoryContext);

            return(new TimeOrderView(
                       agentInstanceViewFactoryContext, this, _timestampExpression, _timestampExpression.ExprEvaluator,
                       timeDeltaComputation, sortedRandomAccess));
        }
Beispiel #5
0
        public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
        {
            ExprTimePeriodEvalDeltaConst timeDeltaComputation = _timeDeltaComputationFactory.Make(
                ViewName, "view", agentInstanceViewFactoryContext.AgentInstanceContext);
            ViewUpdatedCollection randomAccess =
                agentInstanceViewFactoryContext.StatementContext.ViewServicePreviousFactory
                .GetOptPreviousExprRandomAccess(agentInstanceViewFactoryContext);

            if (agentInstanceViewFactoryContext.IsRemoveStream)
            {
                return(new TimeAccumViewRStream(this, agentInstanceViewFactoryContext, timeDeltaComputation));
            }
            else
            {
                return(new TimeAccumView(this, agentInstanceViewFactoryContext, timeDeltaComputation, randomAccess));
            }
        }
Beispiel #6
0
 public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
 {
     ExprTimePeriodEvalDeltaConst timeDeltaComputation = _timeDeltaComputationFactory.Make(
         ViewName, "view", agentInstanceViewFactoryContext.AgentInstanceContext);
     return new FirstTimeView(this, agentInstanceViewFactoryContext, timeDeltaComputation);
 }