public StatementAgentInstanceFactoryResult NewContext(AgentInstanceContext agentInstanceContext, bool isRecoveringResilient) { var tableState = _tableMetadata.TableStateFactory.MakeTableState(agentInstanceContext); var aggregationReportingService = new AggregationServiceTable(tableState); var finalView = new TableStateViewablePublic(_tableMetadata, tableState); return(new StatementAgentInstanceFactoryCreateTableResult(finalView, CollectionUtil.STOP_CALLBACK_NONE, agentInstanceContext, aggregationReportingService)); }
public StatementAgentInstanceFactoryCreateTableResult(Viewable finalView, StopCallback stopCallback, AgentInstanceContext agentInstanceContext, AggregationServiceTable aggregationReportingService) : base(finalView, stopCallback, agentInstanceContext, aggregationReportingService, Collections.GetEmptyMap <ExprSubselectNode, SubSelectStrategyHolder>(), Collections.GetEmptyMap <ExprPriorNode, ExprPriorEvalStrategy>(), Collections.GetEmptyMap <ExprPreviousNode, ExprPreviousEvalStrategy>(), null, Collections.GetEmptyMap <ExprTableAccessNode, ExprTableAccessEvalStrategy>(), Collections.GetEmptyList <StatementAgentInstancePreload>()) { }