Class EPLMethodInvocationContext
java.lang.Object
com.espertech.esper.common.client.hook.expr.EPLMethodInvocationContext
Invocation context for method invocations that invoke static methods or plug-in single-row functions.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEPLMethodInvocationContext
(String statementName, int contextPartitionId, String runtimeURI, String functionName, Object statementUserObject, EventBeanService eventBeanService) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the context partition id, or -1 if no contexts or if the invocation context is not associated to a specific statement and is shareable between statementsReturns event and event type services.Returns the function name that appears in the EPL statement.Returns the runtime URI or null if not setReturns the statement name, or null if the invocation context is not associated to a specific statement and is shareable between statementsReturns the statement user object or null if not assigned or if the invocation context is not associated to a specific statement and is shareable between statements
-
Field Details
-
EPTYPE
Type information
-
-
Constructor Details
-
EPLMethodInvocationContext
public EPLMethodInvocationContext(String statementName, int contextPartitionId, String runtimeURI, String functionName, Object statementUserObject, EventBeanService eventBeanService) Ctor.- Parameters:
statementName
- the statement namecontextPartitionId
- context partition id if using contexts, or -1 if not using context partitionsruntimeURI
- the runtime URIfunctionName
- the name of the plug-in single row function, or the method name if not a plug-in single row functionstatementUserObject
- the statement user object or null if not assignedeventBeanService
- event and event type services
-
-
Method Details
-
getStatementName
Returns the statement name, or null if the invocation context is not associated to a specific statement and is shareable between statements- Returns:
- statement name or null
-
getContextPartitionId
public int getContextPartitionId()Returns the context partition id, or -1 if no contexts or if the invocation context is not associated to a specific statement and is shareable between statements- Returns:
- context partition id
-
getRuntimeURI
Returns the runtime URI or null if not set- Returns:
- runtime URI
-
getFunctionName
Returns the function name that appears in the EPL statement.- Returns:
- function name
-
getStatementUserObject
Returns the statement user object or null if not assigned or if the invocation context is not associated to a specific statement and is shareable between statements- Returns:
- statement user object or null
-
getEventBeanService
Returns event and event type services.- Returns:
- eventBeanService
-