public class EPPreparedQueryImpl extends Object implements EPOnDemandPreparedQuerySPI
Constructor and Description |
---|
EPPreparedQueryImpl(EPPreparedExecuteMethod executeMethod,
String epl)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
EPPreparedExecuteMethod |
getExecuteMethod() |
public EPPreparedQueryImpl(EPPreparedExecuteMethod executeMethod, String epl)
executeMethod
- used at execution time to obtain query resultsepl
- is the EPL to executepublic EPOnDemandQueryResult execute()
EPOnDemandPreparedQuery
execute
in interface EPOnDemandPreparedQuery
public EPOnDemandQueryResult execute(ContextPartitionSelector[] contextPartitionSelectors)
EPOnDemandPreparedQuery
execute
in interface EPOnDemandPreparedQuery
contextPartitionSelectors
- selects context partitions to considerpublic EPPreparedExecuteMethod getExecuteMethod()
getExecuteMethod
in interface EPOnDemandPreparedQuerySPI
public EventType getEventType()
EPOnDemandPreparedQuery
getEventType
in interface EPOnDemandPreparedQuery