Inheritance diagram for TSqlRegistry:
Public Member Functions | |
TSqlRegistry () | |
virtual | ~TSqlRegistry () |
Long64_t | GetNextObjId () |
void | AddSqlCmd (const char *query) |
TSqlCmdsBuffer * | GetCmdsBuffer (TSQLClassInfo *sqlinfo) |
void | ConvertSqlValues (TObjArray &values, const char *tablename) |
void | ConvertPoolValues () |
void | AddRegCmd (Long64_t objid, TClass *cl) |
Int_t | AddLongString (const char *strvalue) |
Bool_t | InsertToNormalTableOracle (TSQLTableData *columns, TSQLClassInfo *sqlinfo) |
void | InsertToNormalTable (TSQLTableData *columns, TSQLClassInfo *sqlinfo) |
Public Attributes | |
TSQLFile * | f |
Long64_t | fKeyId |
Long64_t | fLastObjId |
TObjArray * | fCmds |
Long64_t | fFirstObjId |
Long64_t | fCurrentObjId |
TClass * | fCurrentObjClass |
Int_t | fLastLongStrId |
TMap | fPool |
TObjArray | fLongStrValues |
TObjArray | fRegValues |
TSQLStatement * | fRegStmt |
Definition at line 873 of file TSQLStructure.cxx.
TSqlRegistry::TSqlRegistry | ( | ) | [inline] |
Definition at line 876 of file TSQLStructure.cxx.
virtual TSqlRegistry::~TSqlRegistry | ( | ) | [inline, virtual] |
Definition at line 911 of file TSQLStructure.cxx.
References TObjArray::Delete(), TMap::DeleteValues(), f, fLongStrValues, fPool, fRegStmt, fRegValues, and TSQLFile::SQLDeleteStatement().
Long64_t TSqlRegistry::GetNextObjId | ( | ) | [inline] |
Definition at line 919 of file TSQLStructure.cxx.
References fLastObjId.
Referenced by TSQLStructure::PerformConversion(), TSQLStructure::StoreElementInNormalForm(), and TSQLStructure::TryConvertObjectArray().
void TSqlRegistry::AddSqlCmd | ( | const char * | query | ) | [inline] |
Definition at line 921 of file TSQLStructure.cxx.
References TObjArray::Add(), and fCmds.
Referenced by ConvertSqlValues().
TSqlCmdsBuffer* TSqlRegistry::GetCmdsBuffer | ( | TSQLClassInfo * | sqlinfo | ) | [inline] |
Definition at line 928 of file TSQLStructure.cxx.
References TMap::Add(), buf, f, fPool, and TMap::GetValue().
Referenced by InsertToNormalTable(), InsertToNormalTableOracle(), and TSqlRawBuffer::TSqlRawBuffer().
void TSqlRegistry::ConvertSqlValues | ( | TObjArray & | values, | |
const char * | tablename | |||
) | [inline] |
Definition at line 939 of file TSQLStructure.cxx.
References AddSqlCmd(), f, TObject::GetName(), TSQLFile::IsMySQL(), maxsize, TSQLFile::SQLIdentifierQuote(), and value.
Referenced by ConvertPoolValues().
void TSqlRegistry::ConvertPoolValues | ( | ) | [inline] |
Definition at line 976 of file TSQLStructure.cxx.
References buf, ConvertSqlValues(), TSQLFile::CreateRawTable(), f, fLongStrValues, fPool, fRegStmt, fRegValues, TSQLClassInfo::GetClassTableName(), TSQLClassInfo::GetRawTableName(), TMap::GetValue(), sqlio::ObjectsTable, TSQLStatement::Process(), and sqlio::StringsTable.
Referenced by TSQLStructure::ConvertToTables().
Definition at line 999 of file TSQLStructure.cxx.
References TObjArray::AddAtAndExpand(), TString::Data(), TObject::Error(), f, fFirstObjId, fKeyId, TString::Form(), fRegStmt, fRegValues, TClass::GetClassVersion(), TSQLFile::IsODBC(), TSQLFile::IsOracle(), Long64_t, TSQLStatement::NextIteration(), sqlio::ObjectsTable, TSQLStatement::SetInt(), TSQLStatement::SetLong64(), TSQLStatement::SetString(), TSQLFile::SQLCanStatement(), TSQLFile::SQLIdentifierQuote(), TSQLFile::SQLSmallTextTypeLimit(), TSQLFile::SQLStatement(), and TSQLFile::SQLValueQuote().
Referenced by TSQLStructure::StoreObject().
Int_t TSqlRegistry::AddLongString | ( | const char * | strvalue | ) | [inline] |
Definition at line 1037 of file TSQLStructure.cxx.
References TObjArray::Add(), TSQLStructure::AddStrBrackets(), f, fCurrentObjId, fLastLongStrId, fLongStrValues, TString::Form(), TSQLFile::SQLValueQuote(), value, and TSQLFile::VerifyLongStringTable().
Referenced by TSQLStructure::PerformConversion(), and TSQLStructure::StoreElementInNormalForm().
Bool_t TSqlRegistry::InsertToNormalTableOracle | ( | TSQLTableData * | columns, | |
TSQLClassInfo * | sqlinfo | |||
) | [inline] |
Definition at line 1056 of file TSQLStructure.cxx.
References buf, TString::Data(), f, TString::Form(), TSQLClassInfo::GetClassTableName(), GetCmdsBuffer(), TSQLTableData::GetColumn(), TSQLTableData::GetNumColumns(), TSQLFile::IsOracle(), kFALSE, kTRUE, n, TSQLStatement::NextIteration(), TSQLStatement::SetString(), TSQLFile::SQLCanStatement(), TSQLFile::SQLIdentifierQuote(), TSQLFile::SQLSmallTextTypeLimit(), TSQLFile::SQLStatement(), and value.
Referenced by InsertToNormalTable().
void TSqlRegistry::InsertToNormalTable | ( | TSQLTableData * | columns, | |
TSQLClassInfo * | sqlinfo | |||
) | [inline] |
Definition at line 1098 of file TSQLStructure.cxx.
References TSQLStructure::AddStrBrackets(), buf, f, GetCmdsBuffer(), InsertToNormalTableOracle(), TSQLFile::IsODBC(), TSQLFile::IsOracle(), kTRUE, n, TSQLFile::SQLValueQuote(), and value.
Referenced by TSQLStructure::StoreClassInNormalForm(), TSQLStructure::StoreTObject(), and TSQLStructure::StoreTString().
Definition at line 893 of file TSQLStructure.cxx.
Referenced by AddLongString(), AddRegCmd(), ConvertPoolValues(), ConvertSqlValues(), TSQLStructure::ConvertToTables(), GetCmdsBuffer(), InsertToNormalTable(), InsertToNormalTableOracle(), TSQLStructure::PerformConversion(), TSQLStructure::StoreClassInNormalForm(), TSQLStructure::StoreElementInNormalForm(), TSQLStructure::StoreObject(), TSQLStructure::StoreTObject(), TSQLStructure::StoreTString(), TSQLStructure::TryConvertObjectArray(), TSqlRawBuffer::TSqlRawBuffer(), and ~TSqlRegistry().
Definition at line 894 of file TSQLStructure.cxx.
Referenced by AddRegCmd(), and TSQLStructure::ConvertToTables().
Definition at line 895 of file TSQLStructure.cxx.
Referenced by TSQLStructure::ConvertToTables(), and GetNextObjId().
Definition at line 896 of file TSQLStructure.cxx.
Referenced by AddSqlCmd(), and TSQLStructure::ConvertToTables().
Definition at line 897 of file TSQLStructure.cxx.
Referenced by AddRegCmd(), and TSQLStructure::ConvertToTables().
Definition at line 899 of file TSQLStructure.cxx.
Referenced by AddLongString(), TSQLStructure::PerformConversion(), TSQLStructure::StoreClassInNormalForm(), TSQLStructure::StoreElementInNormalForm(), TSQLStructure::StoreObject(), TSQLStructure::StoreTObject(), TSQLStructure::StoreTString(), and TSqlRawBuffer::TSqlRawBuffer().
Definition at line 904 of file TSQLStructure.cxx.
Referenced by ConvertPoolValues(), GetCmdsBuffer(), and ~TSqlRegistry().
Definition at line 905 of file TSQLStructure.cxx.
Referenced by AddLongString(), ConvertPoolValues(), and ~TSqlRegistry().
Definition at line 906 of file TSQLStructure.cxx.
Referenced by AddRegCmd(), ConvertPoolValues(), and ~TSqlRegistry().
Definition at line 908 of file TSQLStructure.cxx.
Referenced by AddRegCmd(), ConvertPoolValues(), and ~TSqlRegistry().