Developing Apama Applications > Developing Apama Applications in EPL > Working with Streams and Stream Queries > Defining stream queries > Joining two streams
Joining two streams
When a stream query operates over two input streams it is referred to as a join operation. There are two forms of join operation available in EPL. Each form takes two input streams and produces a single output stream of combined items. A cross-join joins every event from one stream’s window with every event in the other stream’s window. An equi-join joins events only when they have matching keys.
Join operations, particularly cross-joins, can create many more output events than input events, not just the same or fewer.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.