|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.db.PollExecStrategyDBQuery
public class PollExecStrategyDBQuery
Viewable providing historical data from a database.
Constructor Summary | |
---|---|
PollExecStrategyDBQuery(EventAdapterService eventAdapterService,
EventType eventType,
ConnectionCache connectionCache,
java.lang.String preparedStatementText,
java.util.Map<java.lang.String,DBOutputTypeDesc> outputTypes,
SQLColumnTypeConversion columnTypeConversionHook,
SQLOutputRowConversion outputRowConversionHook,
boolean enableJDBCLogging)
Ctor. |
Method Summary | |
---|---|
void |
destroy()
Indicate we are no going to use this object again. |
void |
done()
Indicate we are done polling and can release resources. |
java.util.List<EventBean> |
poll(java.lang.Object[] lookupValues,
ExprEvaluatorContext exprEvaluatorContext)
Poll events using the keys provided. |
void |
start()
Start the poll, called before any poll operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PollExecStrategyDBQuery(EventAdapterService eventAdapterService, EventType eventType, ConnectionCache connectionCache, java.lang.String preparedStatementText, java.util.Map<java.lang.String,DBOutputTypeDesc> outputTypes, SQLColumnTypeConversion columnTypeConversionHook, SQLOutputRowConversion outputRowConversionHook, boolean enableJDBCLogging)
eventAdapterService
- for generating event beanseventType
- is the event type that this poll generatesconnectionCache
- caches Connection and PreparedStatementpreparedStatementText
- is the SQL to use for pollingoutputTypes
- describe columns selected by the SQLoutputRowConversionHook
- hook to convert rows, if any hook is registeredcolumnTypeConversionHook
- hook to convert columns, if any hook is registeredMethod Detail |
---|
public void start()
PollExecStrategy
start
in interface PollExecStrategy
public void done()
PollExecStrategy
done
in interface PollExecStrategy
public void destroy()
PollExecStrategy
destroy
in interface PollExecStrategy
public java.util.List<EventBean> poll(java.lang.Object[] lookupValues, ExprEvaluatorContext exprEvaluatorContext)
PollExecStrategy
poll
in interface PollExecStrategy
lookupValues
- is keys for exeuting a query or such
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |