public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { int size = ViewFactoryUtil.EvaluateSizeParam( ViewName, this.size, agentInstanceViewFactoryContext.AgentInstanceContext); return new FirstLengthWindowView(agentInstanceViewFactoryContext, this, size); }
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); }