public class PropertyIndexedEventTableCoerceAllFactory extends PropertyIndexedEventTableCoerceAddFactory
MultiKeyUntyped
keys that store the property values.
Performs coercion of the index keys before storing the keys, and coercion of the lookup keys before lookup.
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.
coercers, coercionType
optionalIndexName, propertyGetters, propertyNames, streamNum, unique
Constructor and Description |
---|
PropertyIndexedEventTableCoerceAllFactory(int streamNum,
EventType eventType,
String[] propertyNames,
Class[] coercionType)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected EventTableOrganization |
getOrganization() |
EventTable[] |
makeEventTables(EventTableFactoryTableIdent tableIdent,
ExprEvaluatorContext exprEvaluatorContext) |
getEventTableClass, getOptionalIndexName, getPropertyGetters, getPropertyNames, getStreamNum, isUnique, toQueryPlan
public PropertyIndexedEventTableCoerceAllFactory(int streamNum, EventType eventType, String[] propertyNames, Class[] coercionType)
streamNum
- is the stream number of the indexed streameventType
- is the event type of the indexed streampropertyNames
- are the property names to get property valuescoercionType
- are the classes to coerce indexed values topublic EventTable[] makeEventTables(EventTableFactoryTableIdent tableIdent, ExprEvaluatorContext exprEvaluatorContext)
makeEventTables
in interface EventTableFactory
makeEventTables
in class PropertyIndexedEventTableCoerceAddFactory
protected EventTableOrganization getOrganization()
getOrganization
in class PropertyIndexedEventTableCoerceAddFactory