com.espertech.esper.epl.join
Class JoinPreloadMethodImpl

java.lang.Object
  extended by com.espertech.esper.epl.join.JoinPreloadMethodImpl
All Implemented Interfaces:
JoinPreloadMethod

public class JoinPreloadMethodImpl
extends Object
implements JoinPreloadMethod

Implements a method for pre-loading (initializing) join indexes from a filled buffer.


Constructor Summary
JoinPreloadMethodImpl(int numStreams, JoinSetComposer joinSetComposer)
          Ctor.
 
Method Summary
 void preloadAggregation(ResultSetProcessor resultSetProcessor)
          Initialize the result set process for the purpose of grouping and aggregation from the join result set.
 void preloadFromBuffer(int stream)
          Initialize a stream from the stream buffers data.
 void setBuffer(BufferView view, int stream)
          Sets the buffer for a stream to preload events from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinPreloadMethodImpl

public JoinPreloadMethodImpl(int numStreams,
                             JoinSetComposer joinSetComposer)
Ctor.

Parameters:
numStreams - number of streams
joinSetComposer - the composer holding stream indexes
Method Detail

setBuffer

public void setBuffer(BufferView view,
                      int stream)
Sets the buffer for a stream to preload events from.

Parameters:
view - buffer
stream - the stream number for the buffer

preloadFromBuffer

public void preloadFromBuffer(int stream)
Description copied from interface: JoinPreloadMethod
Initialize a stream from the stream buffers data.

Specified by:
preloadFromBuffer in interface JoinPreloadMethod
Parameters:
stream - to initialize and load indexes

preloadAggregation

public void preloadAggregation(ResultSetProcessor resultSetProcessor)
Description copied from interface: JoinPreloadMethod
Initialize the result set process for the purpose of grouping and aggregation from the join result set.

Specified by:
preloadAggregation in interface JoinPreloadMethod
Parameters:
resultSetProcessor - is the grouping and aggregation result processing

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com