public class NamedWindowProcessor
extends java.lang.Object
Constructor and Description |
---|
NamedWindowProcessor(java.lang.String namedWindowName,
NamedWindowMgmtService namedWindowMgmtService,
NamedWindowDispatchService namedWindowDispatchService,
java.lang.String contextName,
EventType eventType,
StatementResultService statementResultService,
ValueAddEventProcessor revisionProcessor,
java.lang.String eplExpression,
java.lang.String statementName,
boolean isPrioritized,
boolean isEnableSubqueryIndexShare,
boolean enableQueryPlanLog,
MetricReportingService metricReportingService,
boolean isBatchingDataWindow,
boolean isVirtualDataWindow,
java.util.Set<java.lang.String> optionalUniqueKeyProps,
java.lang.String eventTypeAsName,
StatementContext statementContextCreateWindow) |
Modifier and Type | Method and Description |
---|---|
NamedWindowConsumerView |
addConsumer(NamedWindowConsumerDesc consumerDesc,
boolean isSubselect) |
NamedWindowProcessorInstance |
addInstance(AgentInstanceContext agentInstanceContext) |
void |
clearProcessorInstances() |
void |
destroy()
Deletes a named window and removes any associated resources.
|
java.lang.String |
getContextName() |
StatementMetricHandle |
getCreateNamedWindowMetricsHandle() |
java.lang.String |
getEplExpression()
Returns the EPL expression.
|
EventTableIndexMetadata |
getEventTableIndexMetadataRepo() |
java.lang.String |
getEventTypeAsName() |
java.lang.String |
getNamedWindowName() |
EventType |
getNamedWindowType()
Returns the event type of the named window.
|
java.util.Set<java.lang.String> |
getOptionalUniqueKeyProps() |
NamedWindowProcessorInstance |
getProcessorInstance(AgentInstanceContext agentInstanceContext) |
NamedWindowProcessorInstance |
getProcessorInstance(int agentInstanceId) |
NamedWindowProcessorInstance |
getProcessorInstanceAllowUnpartitioned(int agentInstanceId) |
NamedWindowProcessorInstance |
getProcessorInstanceNoContext() |
java.util.Collection<java.lang.Integer> |
getProcessorInstancesAll() |
NamedWindowRootView |
getRootView()
Returns the root view of the named window, hooked into the view chain before the named window's data window views,
right after the filter stream that filters for insert-into events.
|
StatementContext |
getStatementContextCreateWindow() |
java.lang.String |
getStatementName()
Returns the statement name.
|
NamedWindowTailView |
getTailView()
Returns the tail view of the named window, hooked into the view chain after the named window's data window views,
as the last view.
|
java.lang.String[][] |
getUniqueIndexes() |
boolean |
isEnableSubqueryIndexShare() |
boolean |
isVirtualDataWindow() |
void |
removeAllInstanceIndexes(IndexMultiKey index) |
void |
removeIndexReferencesStmtMayRemoveIndex(IndexMultiKey imk,
java.lang.String finalStatementName) |
void |
validateAddIndex(java.lang.String statementName,
java.lang.String explicitIndexName,
QueryPlanIndexItem explicitIndexDesc,
IndexMultiKey imk) |
public NamedWindowProcessor(java.lang.String namedWindowName, NamedWindowMgmtService namedWindowMgmtService, NamedWindowDispatchService namedWindowDispatchService, java.lang.String contextName, EventType eventType, StatementResultService statementResultService, ValueAddEventProcessor revisionProcessor, java.lang.String eplExpression, java.lang.String statementName, boolean isPrioritized, boolean isEnableSubqueryIndexShare, boolean enableQueryPlanLog, MetricReportingService metricReportingService, boolean isBatchingDataWindow, boolean isVirtualDataWindow, java.util.Set<java.lang.String> optionalUniqueKeyProps, java.lang.String eventTypeAsName, StatementContext statementContextCreateWindow)
public java.lang.String getEventTypeAsName()
public NamedWindowProcessorInstance addInstance(AgentInstanceContext agentInstanceContext)
public NamedWindowProcessorInstance getProcessorInstanceNoContext()
public NamedWindowProcessorInstance getProcessorInstance(int agentInstanceId)
public NamedWindowProcessorInstance getProcessorInstanceAllowUnpartitioned(int agentInstanceId)
public java.util.Collection<java.lang.Integer> getProcessorInstancesAll()
public NamedWindowProcessorInstance getProcessorInstance(AgentInstanceContext agentInstanceContext)
public java.lang.String getContextName()
public NamedWindowConsumerView addConsumer(NamedWindowConsumerDesc consumerDesc, boolean isSubselect)
public boolean isVirtualDataWindow()
public NamedWindowTailView getTailView()
public NamedWindowRootView getRootView()
public EventType getNamedWindowType()
public java.lang.String getEplExpression()
public java.lang.String getStatementName()
public void destroy()
public boolean isEnableSubqueryIndexShare()
public StatementMetricHandle getCreateNamedWindowMetricsHandle()
public java.lang.String getNamedWindowName()
public java.lang.String[][] getUniqueIndexes()
public java.util.Set<java.lang.String> getOptionalUniqueKeyProps()
public EventTableIndexMetadata getEventTableIndexMetadataRepo()
public StatementContext getStatementContextCreateWindow()
public void removeAllInstanceIndexes(IndexMultiKey index)
public void validateAddIndex(java.lang.String statementName, java.lang.String explicitIndexName, QueryPlanIndexItem explicitIndexDesc, IndexMultiKey imk) throws ExprValidationException
ExprValidationException
public void removeIndexReferencesStmtMayRemoveIndex(IndexMultiKey imk, java.lang.String finalStatementName)
public void clearProcessorInstances()