public class EventTableUtil
extends java.lang.Object
Constructor and Description |
---|
EventTableUtil() |
Modifier and Type | Method and Description |
---|---|
static EventTable |
buildIndex(AgentInstanceContext agentInstanceContext,
int indexedStreamNum,
QueryPlanIndexItem item,
EventType eventType,
boolean coerceOnAddOnly,
boolean unique,
java.lang.String optionalIndexName,
java.lang.Object optionalSerde,
boolean isFireAndForget)
Build an index/table instance using the event properties for the event type.
|
public static EventTable buildIndex(AgentInstanceContext agentInstanceContext, int indexedStreamNum, QueryPlanIndexItem item, EventType eventType, boolean coerceOnAddOnly, boolean unique, java.lang.String optionalIndexName, java.lang.Object optionalSerde, boolean isFireAndForget)
indexedStreamNum
- - number of stream indexedeventType
- - type of event to expectoptionalIndexName
- index nameagentInstanceContext
- contextitem
- plan itemoptionalSerde
- serde if anyisFireAndForget
- indicates fire-and-forgetunique
- indicates uniquecoerceOnAddOnly
- indicator whether to coerce on value-add