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 MyFlushedSimpleView(AgentInstanceViewFactoryChainContext agentInstanceContext) { agentInstanceContext.addTerminationCallback(this); events = new ArrayList<EventBean>(); }
public View makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { return new SizeView( agentInstanceViewFactoryContext.getAgentInstanceContext(), eventType, additionalProps); }