public View makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { IStreamSortRankRandomAccess sortedRandomAccess = ViewServiceHelper.getOptPreviousExprSortedRankedAccess(agentInstanceViewFactoryContext); boolean useCollatorSort = false; if (agentInstanceViewFactoryContext .getAgentInstanceContext() .getStatementContext() .getConfigSnapshot() != null) { useCollatorSort = agentInstanceViewFactoryContext .getAgentInstanceContext() .getStatementContext() .getConfigSnapshot() .getEngineDefaults() .getLanguage() .isSortUsingCollator(); } ExprEvaluator[] childEvals = ExprNodeUtility.getEvaluators(sortCriteriaExpressions); return new SortWindowView( this, sortCriteriaExpressions, childEvals, isDescendingValues, sortWindowSize, sortedRandomAccess, useCollatorSort, agentInstanceViewFactoryContext); }
public View makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { return new SizeView( agentInstanceViewFactoryContext.getAgentInstanceContext(), eventType, additionalProps); }