buildIndex
public static EventTable buildIndex(AgentInstanceContext agentInstanceContext,
int indexedStreamNum,
QueryPlanIndexItem item,
EventType eventType,
boolean coerceOnAddOnly,
boolean unique,
String optionalIndexName,
Object optionalSerde,
boolean isFireAndForget)
Build an index/table instance using the event properties for the event type.
- Parameters:
indexedStreamNum
- - number of stream indexed
eventType
- - type of event to expect
optionalIndexName
- index name
agentInstanceContext
- context
item
- plan item
optionalSerde
- serde if any
isFireAndForget
- indicates fire-and-forget
unique
- indicates unique
coerceOnAddOnly
- indicator whether to coerce on value-add
- Returns:
- table build