public class ViewServiceHelper
extends java.lang.Object
Constructor and Description |
---|
ViewServiceHelper() |
Modifier and Type | Method and Description |
---|---|
static IStreamRandomAccess |
getOptPreviousExprRandomAccess(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) |
static IStreamRelativeAccess |
getOptPreviousExprRelativeAccess(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) |
static IStreamSortRankRandomAccess |
getOptPreviousExprSortedRankedAccess(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) |
static java.util.Set<java.lang.String> |
getUniqueCandidateProperties(java.util.List<ViewFactory> viewFactory,
java.lang.annotation.Annotation[] annotations) |
static java.util.List<ViewFactory> |
instantiateFactories(int streamNum,
java.util.List<ViewSpec> viewSpecList,
StatementContext statementContext)
Given a list of view specifications obtained from by parsing this method instantiates a list of view factories.
|
public static java.util.Set<java.lang.String> getUniqueCandidateProperties(java.util.List<ViewFactory> viewFactory, java.lang.annotation.Annotation[] annotations)
public static IStreamRandomAccess getOptPreviousExprRandomAccess(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
public static IStreamRelativeAccess getOptPreviousExprRelativeAccess(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
public static IStreamSortRankRandomAccess getOptPreviousExprSortedRankedAccess(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
public static java.util.List<ViewFactory> instantiateFactories(int streamNum, java.util.List<ViewSpec> viewSpecList, StatementContext statementContext) throws ViewProcessingException
streamNum
- is the stream numberviewSpecList
- is the view definitionstatementContext
- is statement service context and statement infoViewProcessingException
- if the factory cannot be creates such as for invalid view spec