コード例 #1
0
        public AIRegistryAggregation AllocateSubselectAggregation(ExprSubselectNode subselectNode)
        {
            AIRegistryAggregation subselectAggregation = AllocateAIRegistrySubselectAggregation();

            _subselectAggregations.Put(subselectNode, subselectAggregation);
            return(subselectAggregation);
        }
コード例 #2
0
        public AIRegistryAggregation GetOrAllocateSubselectAggregation(ExprSubselectNode subselectNode)
        {
            AIRegistryAggregation existing = _subselectAggregations.Get(subselectNode);

            if (existing != null)
            {
                return(existing);
            }
            return(AllocateSubselectAggregation(subselectNode));
        }
コード例 #3
0
 public AIRegistrySubqueryEntry(
     AIRegistrySubselectLookup lookupStrategies,
     AIRegistryAggregation aggregationServices,
     AIRegistryPriorEvalStrategy priorEvalStrategies,
     AIRegistryPreviousGetterStrategy previousGetterStrategies)
 {
     LookupStrategies = lookupStrategies;
     AggregationServices = aggregationServices;
     PriorEvalStrategies = priorEvalStrategies;
     PreviousGetterStrategies = previousGetterStrategies;
 }
コード例 #4
0
 public StatementAIResourceRegistry(
     AIRegistryAggregation agentInstanceAggregationService,
     AIRegistryPriorEvalStrategy[] agentInstancePriorEvalStrategies,
     IDictionary<int, AIRegistrySubqueryEntry> agentInstanceSubselects,
     IDictionary<int, AIRegistryTableAccess> agentInstanceTableAccesses,
     AIRegistryPreviousGetterStrategy[] agentInstancePreviousGetterStrategies,
     AIRegistryRowRecogPreviousStrategy agentInstanceRowRecogPreviousStrategy)
 {
     AgentInstanceAggregationService = agentInstanceAggregationService;
     AgentInstancePriorEvalStrategies = agentInstancePriorEvalStrategies;
     AgentInstanceSubselects = agentInstanceSubselects;
     AgentInstanceTableAccesses = agentInstanceTableAccesses;
     AgentInstancePreviousGetterStrategies = agentInstancePreviousGetterStrategies;
     AgentInstanceRowRecogPreviousStrategy = agentInstanceRowRecogPreviousStrategy;
 }
コード例 #5
0
 public StatementAIResourceRegistry(AIRegistryAggregation agentInstanceAggregationService, AIRegistryExpr agentInstanceExprService)
 {
     AgentInstanceAggregationService = agentInstanceAggregationService;
     AgentInstanceExprService        = agentInstanceExprService;
 }