net.esper.core
Class StatementLifecycleSvcImpl.EPStatementDesc

java.lang.Object
  extended by net.esper.core.StatementLifecycleSvcImpl.EPStatementDesc
Enclosing class:
StatementLifecycleSvcImpl

public class StatementLifecycleSvcImpl.EPStatementDesc
extends Object

Statement information.


Constructor Summary
StatementLifecycleSvcImpl.EPStatementDesc(EPStatementSPI epStatement, EPStatementStartMethod startMethod, EPStatementStopMethod stopMethod, String optInsertIntoStream, EPStatementHandle statementHandle)
          Ctor.
 
Method Summary
 EPStatementSPI getEpStatement()
          Returns the statement.
 String getOptInsertIntoStream()
          Return the insert-into stream name, or null if no insert-into
 EPStatementStartMethod getStartMethod()
          Returns the start method.
 EPStatementHandle getStatementHandle()
          Returns the statements handle.
 EPStatementStopMethod getStopMethod()
          Returns the stop method.
 void setStopMethod(EPStatementStopMethod stopMethod)
          Sets the stop method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementLifecycleSvcImpl.EPStatementDesc

public StatementLifecycleSvcImpl.EPStatementDesc(EPStatementSPI epStatement,
                                                 EPStatementStartMethod startMethod,
                                                 EPStatementStopMethod stopMethod,
                                                 String optInsertIntoStream,
                                                 EPStatementHandle statementHandle)
Ctor.

Parameters:
epStatement - the statement
startMethod - the start method
stopMethod - the stop method
optInsertIntoStream - is the insert-into stream name, or null if not using insert-into
statementHandle - is the locking handle for the statement
Method Detail

getEpStatement

public EPStatementSPI getEpStatement()
Returns the statement.

Returns:
statement.

getStartMethod

public EPStatementStartMethod getStartMethod()
Returns the start method.

Returns:
start method

getStopMethod

public EPStatementStopMethod getStopMethod()
Returns the stop method.

Returns:
stop method

getOptInsertIntoStream

public String getOptInsertIntoStream()
Return the insert-into stream name, or null if no insert-into

Returns:
stream name

setStopMethod

public void setStopMethod(EPStatementStopMethod stopMethod)
Sets the stop method.

Parameters:
stopMethod - to set

getStatementHandle

public EPStatementHandle getStatementHandle()
Returns the statements handle.

Returns:
statement handle

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com