com.espertech.esper.core
Class EPPreparedExecuteMethod

java.lang.Object
  extended by com.espertech.esper.core.EPPreparedExecuteMethod

public class EPPreparedExecuteMethod
extends Object

Starts and provides the stop method for EPL statements.


Constructor Summary
EPPreparedExecuteMethod(StatementSpecCompiled statementSpec, EPServicesContext services, StatementContext statementContext)
          Ctor.
 
Method Summary
 EPPreparedQueryResult execute()
          Executes the prepared query.
 EventType getEventType()
          Returns the event type of the prepared statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPPreparedExecuteMethod

public EPPreparedExecuteMethod(StatementSpecCompiled statementSpec,
                               EPServicesContext services,
                               StatementContext statementContext)
                        throws ExprValidationException
Ctor.

Parameters:
statementSpec - is a container for the definition of all statement constructs that may have been used in the statement, i.e. if defines the select clauses, insert into, outer joins etc.
services - is the service instances for dependency injection
statementContext - is statement-level information and statement services
Throws:
ExprValidationException - if the preparation failed
Method Detail

getEventType

public EventType getEventType()
Returns the event type of the prepared statement.

Returns:
event type

execute

public EPPreparedQueryResult execute()
Executes the prepared query.

Returns:
query results

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