![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qsql_oci_p.h"#include <qcoreapplication.h>#include <qdatetime.h>#include <qdebug.h>#include <qlist.h>#include <qloggingcategory.h>#include <qmetatype.h>#include <qshareddata.h>#include <qsqlerror.h>#include <qsqlfield.h>#include <qsqlindex.h>#include <qsqlquery.h>#include <QtSql/private/qsqlcachedresult_p.h>#include <QtSql/private/qsqldriver_p.h>#include <qstringlist.h>#include <qvariant.h>#include <qvarlengtharray.h>#include <QtCore/q20memory.h>#include <oci.h>#include <stdlib.h>#include "moc_qsql_oci_p.cpp"Go to the source code of this file.
Classes | |
| class | QOCIRowId |
| class | QOCIDateTime |
| struct | TempStorage |
| class | QOCIDriverPrivate |
| class | QOCIResultPrivate |
| struct | OraFieldInfo |
| class | QOCICols |
| struct | QOCIBatchColumn |
| struct | QOCIBatchCleanupHandler |
Macros | |
| #define | QOCI_DYNAMIC_CHUNK_SIZE 65535 |
| #define | QOCI_PREFETCH_MEM 10240 |
| #define | QOCI_THREADED |
Typedefs | |
| typedef QVarLengthArray< sb2, 32 > | IndicatorArray |
| typedef QVarLengthArray< ub4, 32 > | SizeArray |
| typedef QSharedDataPointer< QOCIRowId > | QOCIRowIdPointer |
Enumerations | |
| enum | { QOCIEncoding = 2002 , QOCIEncoding = 2002 } |
| enum | Expression { OrExpression , AndExpression , OrExpression , AndExpression } |
| enum | { QOCIEncoding = 2002 , QOCIEncoding = 2002 } |
| enum | Expression { OrExpression , AndExpression , OrExpression , AndExpression } |
Functions | |
| static QByteArray | qMakeOCINumber (const qlonglong &ll, OCIError *err) |
| static QByteArray | qMakeOCINumber (const qulonglong &ull, OCIError *err) |
| static qlonglong | qMakeLongLong (const char *ociNumber, OCIError *err) |
| static qulonglong | qMakeULongLong (const char *ociNumber, OCIError *err) |
| static QString | qOraWarn (OCIError *err, int *errorCode=0) |
| static void | qOraWarning (const char *msg, OCIError *err) |
| static QSqlError | qMakeError (const QString &errString, QSqlError::ErrorType typetype, OCIError *err) |
| static void | qOraOutValue (QVariant &valuevalue, TempStorage &tmpStorage, OCIEnv *env, OCIError *err) |
| static int | qOraErrorNumber (OCIError *err) |
| QMetaType | qDecodeOCIType (const QString &ocitype, QSql::NumericalPrecisionPolicy precisionPolicy) |
| QMetaType | qDecodeOCIType (int ocitype, QSql::NumericalPrecisionPolicy precisionPolicy) |
| static QSqlField | qFromOraInf (const OraFieldInfo &ofi) |
| template<class T, int sz> | |
| int | qReadLob (T &bufbuf, const QOCIResultPrivate *d, OCILobLocator *lob) |
| static void | qParseOpts (const QString &options, QOCIDriverPrivate *d) |
| static QString | make_where_clause (const QString &user, Expression e) |
| void | qSplitTableAndOwner (const QString &tname, QString *tbl, QString *owner) |
Variables | |
| static const ub2 | qOraCharset = OCI_UCS2ID |
| #define QOCI_DYNAMIC_CHUNK_SIZE 65535 |
Definition at line 41 of file qsql_oci.cpp.
| #define QOCI_PREFETCH_MEM 10240 |
Definition at line 42 of file qsql_oci.cpp.
| #define QOCI_THREADED |
Definition at line 47 of file qsql_oci.cpp.
| typedef QVarLengthArray< sb2, 32 > IndicatorArray |
Definition at line 84 of file qsql_oci.cpp.
| typedef QSharedDataPointer< QOCIRowId > QOCIRowIdPointer |
Definition at line 183 of file qsql_oci.cpp.
| typedef QVarLengthArray< ub4, 32 > SizeArray |
Definition at line 85 of file qsql_oci.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| QOCIEncoding | |
| QOCIEncoding | |
Definition at line 65 of file qsql_oci.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| QOCIEncoding | |
| QOCIEncoding | |
Definition at line 65 of file qsql_oci.cpp.
| enum Expression |
| Enumerator | |
|---|---|
| OrExpression | |
| AndExpression | |
| OrExpression | |
| AndExpression | |
Definition at line 2421 of file qsql_oci.cpp.
| enum Expression |
| Enumerator | |
|---|---|
| OrExpression | |
| AndExpression | |
| OrExpression | |
| AndExpression | |
Definition at line 2421 of file qsql_oci.cpp.
|
static |
Definition at line 2426 of file qsql_oci.cpp.
| QMetaType qDecodeOCIType | ( | const QString & | ocitype, |
| QSql::NumericalPrecisionPolicy | precisionPolicy ) |
Definition at line 613 of file qsql_oci.cpp.
| QMetaType qDecodeOCIType | ( | int | ocitype, |
| QSql::NumericalPrecisionPolicy | precisionPolicy ) |
Definition at line 656 of file qsql_oci.cpp.
|
static |
Definition at line 726 of file qsql_oci.cpp.
|
static |
Definition at line 605 of file qsql_oci.cpp.
|
static |
Definition at line 774 of file qsql_oci.cpp.
|
static |
Convert qlonglong to the internal Oracle OCINumber format.
Definition at line 745 of file qsql_oci.cpp.
|
static |
Convert qulonglong to the internal Oracle OCINumber format.
Definition at line 762 of file qsql_oci.cpp.
|
static |
Definition at line 782 of file qsql_oci.cpp.
|
static |
Definition at line 592 of file qsql_oci.cpp.
|
static |
Definition at line 490 of file qsql_oci.cpp.
|
static |
Definition at line 568 of file qsql_oci.cpp.
|
static |
Definition at line 587 of file qsql_oci.cpp.
|
static |
Definition at line 2186 of file qsql_oci.cpp.
| int qReadLob | ( | T & | buf, |
| const QOCIResultPrivate * | d, | ||
| OCILobLocator * | lob ) |
Definition at line 1635 of file qsql_oci.cpp.
References QOCIResultPrivate::env, QOCIEncoding, and QOCIResultPrivate::svc.
Definition at line 2533 of file qsql_oci.cpp.
|
static |
Definition at line 81 of file qsql_oci.cpp.