org.tranql.sql.prefetch
Class PrefetchGroupHandler

java.lang.Object
  extended byorg.tranql.sql.prefetch.PrefetchGroupHandler
All Implemented Interfaces:
ResultHandler, java.io.Serializable

public class PrefetchGroupHandler
extends java.lang.Object
implements ResultHandler, java.io.Serializable

Version:
$Revision: 323 $ $Date: 2006-02-19 07:29:24 +0100 (Sun, 19 Feb 2006) $
See Also:
Serialized Form

Constructor Summary
PrefetchGroupHandler(PrefetchGroupHandler prototype, ResultHandler topHandler)
           
 
Method Summary
static PrefetchGroupHandler buildHandler(FieldTransform[] fields, PrefetchGroup group, IdentityDefinerBuilder idDefBuilder)
           
 java.lang.Object endFetched(java.lang.Object arg)
           
 java.lang.Object execute(InTxCache cache, QueryCommand command, Row params, java.lang.Object arg)
           
 java.lang.Object fetched(Row row, java.lang.Object arg)
           
 java.lang.Object unwrapContext(java.lang.Object arg)
           
 java.lang.Object wrapContext(InTxCache cache, java.lang.Object arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefetchGroupHandler

public PrefetchGroupHandler(PrefetchGroupHandler prototype,
                            ResultHandler topHandler)
Method Detail

buildHandler

public static PrefetchGroupHandler buildHandler(FieldTransform[] fields,
                                                PrefetchGroup group,
                                                IdentityDefinerBuilder idDefBuilder)

execute

public java.lang.Object execute(InTxCache cache,
                                QueryCommand command,
                                Row params,
                                java.lang.Object arg)
                         throws QueryException
Throws:
QueryException

wrapContext

public java.lang.Object wrapContext(InTxCache cache,
                                    java.lang.Object arg)

unwrapContext

public java.lang.Object unwrapContext(java.lang.Object arg)

fetched

public java.lang.Object fetched(Row row,
                                java.lang.Object arg)
                         throws QueryException
Specified by:
fetched in interface ResultHandler
Throws:
QueryException

endFetched

public java.lang.Object endFetched(java.lang.Object arg)
                            throws QueryException
Specified by:
endFetched in interface ResultHandler
Throws:
QueryException


Copyright © -2006 The Codehaus. All Rights Reserved.