public interface HistoricalEventViewable extends Viewable, AgentInstanceMgmtCallback
INSTANCE_NO_ACTION
Modifier and Type | Method and Description |
---|---|
ThreadLocal<HistoricalDataCache> |
getDataCacheThreadLocal() |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains.
|
HistoricalDataCache |
getOptionalDataCache() |
boolean |
hasRequiredStreams()
Returns true if the parameters expressions to the historical require other stream's data,
or false if there are no parameters or all parameter expressions are only contants and variables without
properties of other stream events.
|
EventTable[][] |
poll(EventBean[][] lookupEventsPerStream,
PollResultIndexingStrategy indexingStrategy,
ExprEvaluatorContext exprEvaluatorContext)
Poll for stored historical or reference data using events per stream and
returing for each event-per-stream row a separate list with events
representing the poll result.
|
getChild, iterator, setChild
forEach, spliterator
stop, transfer
EventType getEventType()
Viewable
getEventType
in interface Viewable
EventTable[][] poll(EventBean[][] lookupEventsPerStream, PollResultIndexingStrategy indexingStrategy, ExprEvaluatorContext exprEvaluatorContext)
lookupEventsPerStream
- is the events per stream where the
first dimension is a number of rows (often 1 depending on windows used) and
the second dimension is the number of streams participating in a join.indexingStrategy
- the strategy to use for converting poll results into a indexed table for fast lookupexprEvaluatorContext
- context for expression evalauationboolean hasRequiredStreams()
ThreadLocal<HistoricalDataCache> getDataCacheThreadLocal()
HistoricalDataCache getOptionalDataCache()
Copyright © 2005–2020. All rights reserved.