com.espertech.esper.client.hook
Class EPLMethodInvocationContext

java.lang.Object
  extended by com.espertech.esper.client.hook.EPLMethodInvocationContext

public class EPLMethodInvocationContext
extends java.lang.Object

Invocation context for method invocations that invoke static methods or plug-in single-row functions.


Constructor Summary
EPLMethodInvocationContext(java.lang.String statementName, int contextPartitionId, java.lang.String engineURI, java.lang.String functionName, java.lang.Object statementUserObject)
          Ctor.
 
Method Summary
 int getContextPartitionId()
          Returns the context partition id, or -1 if no contexts
 java.lang.String getEngineURI()
          Returns the engine URI
 java.lang.String getFunctionName()
          Returns the function name that appears in the EPL statement.
 java.lang.String getStatementName()
          Returns the statement name.
 java.lang.Object getStatementUserObject()
          Returns the statement user object or null if not assigned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPLMethodInvocationContext

public EPLMethodInvocationContext(java.lang.String statementName,
                                  int contextPartitionId,
                                  java.lang.String engineURI,
                                  java.lang.String functionName,
                                  java.lang.Object statementUserObject)
Ctor.

Parameters:
statementName - the statement name
contextPartitionId - context partition id if using contexts, or -1 if not using context partitions
engineURI - the engine URI
functionName - the name of the plug-in single row function, or the method name if not a plug-in single row function
statementUserObject - the statement user object or null if not assigned
Method Detail

getStatementName

public java.lang.String getStatementName()
Returns the statement name.

Returns:
statement name

getContextPartitionId

public int getContextPartitionId()
Returns the context partition id, or -1 if no contexts

Returns:
context partition id

getEngineURI

public java.lang.String getEngineURI()
Returns the engine URI

Returns:
engine URI

getFunctionName

public java.lang.String getFunctionName()
Returns the function name that appears in the EPL statement.

Returns:
function name

getStatementUserObject

public java.lang.Object getStatementUserObject()
Returns the statement user object or null if not assigned

Returns:
statement user object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com