com.espertech.esper.client
Interface EPOnDemandPreparedQuery

All Known Subinterfaces:
EPOnDemandPreparedQuerySPI
All Known Implementing Classes:
EPPreparedQueryImpl

public interface EPOnDemandPreparedQuery

Interface for a prepared on-demand query that can be executed multiple times.


Method Summary
 EPOnDemandQueryResult execute()
          Execute the prepared query returning query results.
 EPOnDemandQueryResult execute(ContextPartitionSelector[] contextPartitionSelectors)
          For use with named windows that have a context declared and that may therefore have multiple context partitions, allows to target context partitions for query execution selectively.
 EventType getEventType()
          Returns the event type, representing the columns of the select-clause.
 

Method Detail

execute

EPOnDemandQueryResult execute()
Execute the prepared query returning query results.

Returns:
query result

execute

EPOnDemandQueryResult execute(ContextPartitionSelector[] contextPartitionSelectors)
For use with named windows that have a context declared and that may therefore have multiple context partitions, allows to target context partitions for query execution selectively.

Parameters:
contextPartitionSelectors - selects context partitions to consider
Returns:
query result

getEventType

EventType getEventType()
Returns the event type, representing the columns of the select-clause.

Returns:
event type

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