library: libOracle
#include "TOracleResult.h"

TOracleResult


class description - header file - source file - inheritance tree (.pdf)

class TOracleResult : public TSQLResult

Inheritance Chart:
TObject
<-
TSQLResult
<-
TOracleResult
    private:
Bool_t IsValid(Int_t field) protected:
void initResultSet(Statement* stmt) void ProducePool() public:
TOracleResult(Connection* conn, Statement* stmt) TOracleResult(Connection* conn, const char* tableName) TOracleResult(const TOracleResult&) ~TOracleResult() static TClass* Class() virtual void Close(Option_t* opt = "") virtual Int_t GetFieldCount() virtual const char* GetFieldName(Int_t field) virtual Int_t GetRowCount() const Int_t GetUpdateCount() virtual TClass* IsA() const virtual TSQLRow* Next() TOracleResult& operator=(const TOracleResult&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Connection* fConn connection to Oracle Statement* fStmt executed statement ResultSet* fResult query result (rows) vector<MetaData>* fFieldInfo info for each field in the row Int_t fFieldCount num of fields in resultset UInt_t fUpdateCount for dml query, mutual exclusive with above Int_t fResultType 0 - nothing; 1 - Select; 2 - table metainfo, 3 - update counter TList* fPool array of results, produced when number of rows are requested string fNameBuffer buffer for GetFieldName() argument

Class Description

void initResultSet(Statement *stmt)
 Oracle query result.
TOracleResult(Connection *conn, Statement *stmt)
TOracleResult(Connection *conn, const char *tableName)
 This construction func is only used to get table metainfo.
~TOracleResult()
 Cleanup Oracle query result.
void Close(Option_t *)
 Close query result.
Bool_t IsValid(Int_t field)
 Check if result set is open and field index within range.
Int_t GetFieldCount()
 Get number of fields in result.
const char * GetFieldName(Int_t field)
 Get name of specified field.
TSQLRow * Next()
 Get next query result row. The returned object must be
 deleted by the user.
Int_t GetRowCount()
void ProducePool()
TOracleResult(Connection *conn, Statement *stmt)
Int_t GetUpdateCount()

Author: Yan Liu and Shaowen Wang 23/11/04
Last update: root/oracle:$Name: $:$Id: TOracleResult.cxx,v 1.7 2006/05/22 08:55:30 brun Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.