com.espertech.esper.epl.join.assemble
Class CartesianUtil

java.lang.Object
  extended by com.espertech.esper.epl.join.assemble.CartesianUtil

public class CartesianUtil
extends java.lang.Object

Helper class to compute the cartesian product of the events from two streams.


Constructor Summary
CartesianUtil()
           
 
Method Summary
protected static void computeCartesian(java.util.List<EventBean[]> streamOne, int[] subStreamNumsOne, java.util.List<EventBean[]> streamTwo, int[] subStreamNumsTwo, java.util.List<EventBean[]> resultList)
          Form the 2-ary cartesian product between zero or more events from 2 streams.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CartesianUtil

public CartesianUtil()
Method Detail

computeCartesian

protected static void computeCartesian(java.util.List<EventBean[]> streamOne,
                                       int[] subStreamNumsOne,
                                       java.util.List<EventBean[]> streamTwo,
                                       int[] subStreamNumsTwo,
                                       java.util.List<EventBean[]> resultList)
Form the 2-ary cartesian product between zero or more events from 2 streams.

Parameters:
streamOne - is the events from stream one
subStreamNumsOne - is the list of substream numbers to stream one to include in the product
streamTwo - is the events from stream two
subStreamNumsTwo - is the list of substream numbers to stream two to include in the product
resultList - is where the result of the cartesian product is added to

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com