com.espertech.esper.core.start
Class EPPreparedExecuteMethodQuery

java.lang.Object
  extended by com.espertech.esper.core.start.EPPreparedExecuteMethodQuery
All Implemented Interfaces:
EPPreparedExecuteMethod

public class EPPreparedExecuteMethodQuery
extends java.lang.Object
implements EPPreparedExecuteMethod

Starts and provides the stop method for EPL statements.


Constructor Summary
EPPreparedExecuteMethodQuery(StatementSpecCompiled statementSpec, EPServicesContext services, StatementContext statementContext)
          Ctor.
 
Method Summary
 EPPreparedQueryResult execute(ContextPartitionSelector[] contextPartitionSelectors)
          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

EPPreparedExecuteMethodQuery

public EPPreparedExecuteMethodQuery(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.

Specified by:
getEventType in interface EPPreparedExecuteMethod
Returns:
event type

execute

public EPPreparedQueryResult execute(ContextPartitionSelector[] contextPartitionSelectors)
Executes the prepared query.

Specified by:
execute in interface EPPreparedExecuteMethod
Returns:
query results

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