Beispiel #1
0
 public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
 {
     int size = ViewFactoryUtil.EvaluateSizeParam(
         ViewName,
         this.size,
         agentInstanceViewFactoryContext.AgentInstanceContext);
     return new FirstLengthWindowView(agentInstanceViewFactoryContext, this, size);
 }
Beispiel #2
0
 public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
 {
     int sortWindowSize = ViewFactoryUtil.EvaluateSizeParam(
         ViewName,
         SizeEvaluator,
         agentInstanceViewFactoryContext.AgentInstanceContext);
     IStreamSortRankRandomAccess rankedRandomAccess =
         agentInstanceViewFactoryContext.StatementContext.ViewServicePreviousFactory
             .GetOptPreviousExprSortedRankedAccess(agentInstanceViewFactoryContext);
     return new RankWindowView(this, sortWindowSize, rankedRandomAccess, agentInstanceViewFactoryContext);
 }