net.esper.core
Class EPStatementDesc

java.lang.Object
  extended by net.esper.core.EPStatementDesc

public class EPStatementDesc
extends Object

Statement information for use to perform statement lifecycle management.


Constructor Summary
EPStatementDesc(EPStatementSPI epStatement, EPStatementStartMethod startMethod, EPStatementStopMethod stopMethod, String optInsertIntoStream)
          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.
 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

EPStatementDesc

public EPStatementDesc(EPStatementSPI epStatement,
                       EPStatementStartMethod startMethod,
                       EPStatementStopMethod stopMethod,
                       String optInsertIntoStream)
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
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

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