public class PropertyIndexedEventTableFactory extends java.lang.Object implements EventTableFactory
MultiKeyUntyped
keys that store the property values.
Takes a list of property names as parameter. Doesn't care which event type the events have as long as the properties
exist. If the same event is added twice, the class throws an exception on add.Constructor and Description |
---|
PropertyIndexedEventTableFactory(int streamNum,
EventType eventType,
java.lang.String[] propertyNames,
boolean unique,
java.lang.String optionalIndexName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getEventTableClass() |
EventTable[] |
makeEventTables() |
java.lang.String |
toQueryPlan() |
public PropertyIndexedEventTableFactory(int streamNum, EventType eventType, java.lang.String[] propertyNames, boolean unique, java.lang.String optionalIndexName)
streamNum
- - the stream number that is indexedeventType
- - types of events indexedpropertyNames
- - property names to use for indexingunique
- optionalIndexName
- public EventTable[] makeEventTables()
makeEventTables
in interface EventTableFactory
public java.lang.Class getEventTableClass()
getEventTableClass
in interface EventTableFactory
public java.lang.String toQueryPlan()
toQueryPlan
in interface EventTableFactory