public static IStreamTimeOrderRandomAccess getOptPreviousExprTimeOrderAccess(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) {
IStreamTimeOrderRandomAccess sortedRandomAccess = null;
if (agentInstanceViewFactoryContext.getPreviousNodeGetter() != null)
{
RandomAccessByIndexGetter getter = (RandomAccessByIndexGetter) agentInstanceViewFactoryContext.getPreviousNodeGetter();
sortedRandomAccess = new IStreamTimeOrderRandomAccess(getter);
getter.updated(sortedRandomAccess);
}
return sortedRandomAccess;
}