CmdInterpreter::StreamGraphHandle Struct Reference

#include <CmdInterpreter.h>

Inheritance diagram for CmdInterpreter::StreamGraphHandle:

BTreeOwnerRootMap List of all members.

Public Member Functions

 StreamGraphHandle ()
 ~StreamGraphHandle ()
virtual PageId getRoot (PageOwnerId pageOwnerId)

Public Attributes

SharedExecStreamFactory pExecStreamFactory
SharedExecStreamGraph pExecStreamGraph
SharedExecStreamScheduler pScheduler
TxnHandlepTxnHandle
SharedSegment pSegment
 Segment associated with the stream graph.
SharedSegment pReadCommittedSegment
 Segment associated with the stream graph that only reads committed data, if the underlying segment supports this.
jobject javaRuntimeContext

Detailed Description

Definition at line 101 of file CmdInterpreter.h.


Constructor & Destructor Documentation

CmdInterpreter::StreamGraphHandle::StreamGraphHandle (  )  [inline, explicit]

Definition at line 120 of file CmdInterpreter.h.

00121             : pTxnHandle(0), javaRuntimeContext(0)
00122             {
00123             }

CmdInterpreter::StreamGraphHandle::~StreamGraphHandle (  ) 

Definition at line 159 of file CmdInterpreter.cpp.

References JniUtil::decrementHandleCount(), and javaRuntimeContext.

00160 {
00161     if (javaRuntimeContext) {
00162         JniEnvAutoRef pEnv;
00163         pEnv->DeleteGlobalRef(javaRuntimeContext);
00164     }
00165     JniUtil::decrementHandleCount(STREAMGRAPHHANDLE_TRACE_TYPE_STR, this);
00166 }


Member Function Documentation

PageId CmdInterpreter::StreamGraphHandle::getRoot ( PageOwnerId  pageOwnerId  )  [virtual]

Implements BTreeOwnerRootMap.

Definition at line 750 of file CmdInterpreter.cpp.

References javaRuntimeContext, JniUtil::methGetIndexRoot, and opaqueToInt().

00751 {
00752     JniEnvAutoRef pEnv;
00753     jlong x = opaqueToInt(pageOwnerId);
00754     x = pEnv->CallLongMethod(
00755         javaRuntimeContext,JniUtil::methGetIndexRoot,x);
00756     return PageId(x);
00757 }


Member Data Documentation

SharedExecStreamFactory CmdInterpreter::StreamGraphHandle::pExecStreamFactory

Definition at line 104 of file CmdInterpreter.h.

Referenced by Java_com_lucidera_farrago_fennel_LucidEraJni_registerStreamFactory(), and CmdInterpreter::visit().

SharedExecStreamGraph CmdInterpreter::StreamGraphHandle::pExecStreamGraph

Definition at line 105 of file CmdInterpreter.h.

Referenced by Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphClose(), Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphGetInputStreams(), Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and CmdInterpreter::visit().

SharedExecStreamScheduler CmdInterpreter::StreamGraphHandle::pScheduler

Definition at line 106 of file CmdInterpreter.h.

Referenced by Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphClose(), Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and CmdInterpreter::visit().

TxnHandle* CmdInterpreter::StreamGraphHandle::pTxnHandle

Definition at line 107 of file CmdInterpreter.h.

Referenced by CmdInterpreter::visit().

SharedSegment CmdInterpreter::StreamGraphHandle::pSegment

Segment associated with the stream graph.

Definition at line 111 of file CmdInterpreter.h.

Referenced by Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and ExecStreamFactory::readBTreeParams().

SharedSegment CmdInterpreter::StreamGraphHandle::pReadCommittedSegment

Segment associated with the stream graph that only reads committed data, if the underlying segment supports this.

Definition at line 116 of file CmdInterpreter.h.

Referenced by Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and ExecStreamFactory::readBTreeParams().

jobject CmdInterpreter::StreamGraphHandle::javaRuntimeContext

Definition at line 118 of file CmdInterpreter.h.

Referenced by getRoot(), Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), JavaTransformExecStream::open(), JavaSinkExecStream::open(), and ~StreamGraphHandle().


The documentation for this struct was generated from the following files:
Generated on Mon Jun 22 04:00:28 2009 for Fennel by  doxygen 1.5.1