public class NamedWindowProcessor extends Object
Constructor and Description |
---|
NamedWindowProcessor(String namedWindowName,
NamedWindowMgmtService namedWindowMgmtService,
NamedWindowDispatchService namedWindowDispatchService,
String contextName,
EventType eventType,
StatementResultService statementResultService,
ValueAddEventProcessor revisionProcessor,
String eplExpression,
String statementName,
boolean isPrioritized,
boolean isEnableSubqueryIndexShare,
boolean enableQueryPlanLog,
MetricReportingService metricReportingService,
boolean isBatchingDataWindow,
boolean isVirtualDataWindow,
Set<String> optionalUniqueKeyProps,
String eventTypeAsName,
StatementContext statementContextCreateWindow) |
public NamedWindowProcessor(String namedWindowName, NamedWindowMgmtService namedWindowMgmtService, NamedWindowDispatchService namedWindowDispatchService, String contextName, EventType eventType, StatementResultService statementResultService, ValueAddEventProcessor revisionProcessor, String eplExpression, String statementName, boolean isPrioritized, boolean isEnableSubqueryIndexShare, boolean enableQueryPlanLog, MetricReportingService metricReportingService, boolean isBatchingDataWindow, boolean isVirtualDataWindow, Set<String> optionalUniqueKeyProps, String eventTypeAsName, StatementContext statementContextCreateWindow)
public String getEventTypeAsName()
public NamedWindowProcessorInstance addInstance(AgentInstanceContext agentInstanceContext)
public NamedWindowProcessorInstance getProcessorInstanceNoContext()
public NamedWindowProcessorInstance getProcessorInstance(int agentInstanceId)
public NamedWindowProcessorInstance getProcessorInstanceAllowUnpartitioned(int agentInstanceId)
public Collection<Integer> getProcessorInstancesAll()
public NamedWindowProcessorInstance getProcessorInstance(AgentInstanceContext agentInstanceContext)
public String getContextName()
public NamedWindowConsumerView addConsumer(NamedWindowConsumerDesc consumerDesc, boolean isSubselect)
public boolean isVirtualDataWindow()
public NamedWindowTailView getTailView()
public NamedWindowRootView getRootView()
public EventType getNamedWindowType()
public String getEplExpression()
public String getStatementName()
public void destroy()
public boolean isEnableSubqueryIndexShare()
public StatementMetricHandle getCreateNamedWindowMetricsHandle()
public String getNamedWindowName()
public String[][] getUniqueIndexes()
public EventTableIndexMetadata getEventTableIndexMetadataRepo()
public StatementContext getStatementContextCreateWindow()
public void removeAllInstanceIndexes(IndexMultiKey index)
public void validateAddIndex(String statementName, String explicitIndexName, QueryPlanIndexItem explicitIndexDesc, IndexMultiKey imk) throws ExprValidationException
ExprValidationException
public void removeIndexReferencesStmtMayRemoveIndex(IndexMultiKey imk, String finalStatementName)
public void clearProcessorInstances()