public class PropertyCompositeEventTableFactory extends Object implements EventTableFactory
An alternative implementatation could have been based on "TreeMap<ComparableMultiKey, Set<EventBean>>>", however the following implication arrive - not applicable for range-only lookups (since there the key can be the value itself - not applicable for multiple nested range as ordering not nested - each add/remove and lookup would also need to construct a key object.
Modifier and Type | Field and Description |
---|---|
protected CompositeIndexEnterRemove |
chain |
protected String[] |
optionalKeyedProps |
protected Class[] |
optKeyCoercedTypes |
protected Class[] |
optRangeCoercedTypes |
protected String[] |
rangeProps |
protected int |
streamNum |
Constructor and Description |
---|
PropertyCompositeEventTableFactory(int streamNum,
EventType eventType,
String[] optionalKeyedProps,
Class[] optKeyCoercedTypes,
String[] rangeProps,
Class[] optRangeCoercedTypes) |
Modifier and Type | Method and Description |
---|---|
Class |
getEventTableClass() |
protected EventTableOrganization |
getOrganization() |
EventTable[] |
makeEventTables(EventTableFactoryTableIdent tableIdent,
ExprEvaluatorContext exprEvaluatorContext) |
String |
toQueryPlan() |
protected final int streamNum
protected final String[] optionalKeyedProps
protected final String[] rangeProps
protected final CompositeIndexEnterRemove chain
protected final Class[] optKeyCoercedTypes
protected final Class[] optRangeCoercedTypes
public EventTable[] makeEventTables(EventTableFactoryTableIdent tableIdent, ExprEvaluatorContext exprEvaluatorContext)
makeEventTables
in interface EventTableFactory
public Class getEventTableClass()
getEventTableClass
in interface EventTableFactory
public String toQueryPlan()
toQueryPlan
in interface EventTableFactory
protected EventTableOrganization getOrganization()