public class SubordHashedTableLookupStrategyExpr extends Object implements SubordTableLookupStrategy
Constructor and Description |
---|
SubordHashedTableLookupStrategyExpr(SubordHashedTableLookupStrategyExprFactory factory,
PropertyHashedEventTable index) |
Modifier and Type | Method and Description |
---|---|
PropertyHashedEventTable |
getIndex()
Returns index to look up in.
|
protected Object |
getKey(EventBean[] eventsPerStream,
ExprEvaluatorContext context)
Get the index lookup keys.
|
LookupStrategyDesc |
getStrategyDesc() |
Collection<EventBean> |
lookup(EventBean[] eventsPerStream,
ExprEvaluatorContext context)
Returns matched events for a set of events to look up for.
|
String |
toQueryPlan() |
public SubordHashedTableLookupStrategyExpr(SubordHashedTableLookupStrategyExprFactory factory, PropertyHashedEventTable index)
public PropertyHashedEventTable getIndex()
public Collection<EventBean> lookup(EventBean[] eventsPerStream, ExprEvaluatorContext context)
SubordTableLookupStrategy
lookup
in interface SubordTableLookupStrategy
eventsPerStream
- to look upcontext
- contextprotected Object getKey(EventBean[] eventsPerStream, ExprEvaluatorContext context)
eventsPerStream
- is the events for each streamcontext
- contextpublic LookupStrategyDesc getStrategyDesc()
getStrategyDesc
in interface SubordTableLookupStrategy
public String toQueryPlan()
toQueryPlan
in interface SubordTableLookupStrategy
Copyright © 2005–2018. All rights reserved.