net.esper.eql.join
Class JoinPreloadMethodImpl

java.lang.Object
  extended by net.esper.eql.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 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

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