com.espertech.esper.core
Class EPPreparedQueryImpl

java.lang.Object
  extended by com.espertech.esper.core.EPPreparedQueryImpl
All Implemented Interfaces:
EPPreparedQuery

public class EPPreparedQueryImpl
extends Object
implements EPPreparedQuery

Provides prepared query functionality.


Constructor Summary
EPPreparedQueryImpl(EPPreparedExecuteMethod executeMethod, String epl)
          Ctor.
 
Method Summary
 EPQueryResult execute()
          Execute the prepared query returning query results.
 EventType getEventType()
          Returns the event type, representing the columns of the select-clause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPPreparedQueryImpl

public EPPreparedQueryImpl(EPPreparedExecuteMethod executeMethod,
                           String epl)
Ctor.

Parameters:
executeMethod - used at execution time to obtain query results
epl - is the EPL to execute
Method Detail

execute

public EPQueryResult execute()
Description copied from interface: EPPreparedQuery
Execute the prepared query returning query results.

Specified by:
execute in interface EPPreparedQuery
Returns:
query result

getEventType

public EventType getEventType()
Description copied from interface: EPPreparedQuery
Returns the event type, representing the columns of the select-clause

Specified by:
getEventType in interface EPPreparedQuery
Returns:
event type

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