The document discusses the building blocks and design patterns for complex event processing including events, streams, relations and operators. It defines events, streams and relations, and describes common operator patterns such as event filtering, new event detection, event partitioning, event enrichment, event aggregation, and event correlation. The design patterns are illustrated with examples of processing stock market event streams.