public class EPStatementHandle extends Object implements Serializable
The statement's self-join flag indicates the the statement may join to itself, that is a single event may dispatch into multiple streams or patterns for the same statement, requiring internal dispatch logic to not shortcut evaluation of all filters for the statement within one lock, requiring the callback handle to be sorted.
Constructor and Description |
---|
EPStatementHandle(String statementName,
String deploymentId,
int statementId,
String optionalStatementEPL,
int priority,
boolean preemptive,
boolean canSelfJoin,
MultiMatchHandler multiMatchHandler,
boolean hasVariables,
boolean hasTableAccess,
StatementMetricHandle metricsHandle,
InsertIntoLatchFactory insertIntoFrontLatchFactory,
InsertIntoLatchFactory insertIntoBackLatchFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherObj) |
String |
getDeploymentId() |
InsertIntoLatchFactory |
getInsertIntoBackLatchFactory() |
InsertIntoLatchFactory |
getInsertIntoFrontLatchFactory() |
StatementMetricHandle |
getMetricsHandle()
Returns handle for metrics reporting.
|
MultiMatchHandler |
getMultiMatchHandler() |
String |
getOptionalStatementEPL() |
int |
getPriority()
Returns the statement priority.
|
int |
getStatementId()
Returns the statement id.
|
String |
getStatementName() |
int |
hashCode() |
boolean |
isCanSelfJoin()
Returns true if the statement potentially self-joins amojng the events it processes.
|
boolean |
isHasTableAccess() |
boolean |
isHasVariables()
Returns true if the statement uses variables, false if not.
|
boolean |
isPreemptive()
True for preemptive (drop) statements.
|
public EPStatementHandle(String statementName, String deploymentId, int statementId, String optionalStatementEPL, int priority, boolean preemptive, boolean canSelfJoin, MultiMatchHandler multiMatchHandler, boolean hasVariables, boolean hasTableAccess, StatementMetricHandle metricsHandle, InsertIntoLatchFactory insertIntoFrontLatchFactory, InsertIntoLatchFactory insertIntoBackLatchFactory)
public int getStatementId()
public boolean isHasVariables()
public int getPriority()
public boolean isPreemptive()
public boolean isCanSelfJoin()
public StatementMetricHandle getMetricsHandle()
public boolean isHasTableAccess()
public MultiMatchHandler getMultiMatchHandler()
public String getStatementName()
public String getDeploymentId()
public String getOptionalStatementEPL()
public InsertIntoLatchFactory getInsertIntoFrontLatchFactory()
public InsertIntoLatchFactory getInsertIntoBackLatchFactory()
Copyright © 2005–2018. All rights reserved.