Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOCIResultPrivate Class Reference
+ Inheritance diagram for QOCIResultPrivate:
+ Collaboration diagram for QOCIResultPrivate:

Public Member Functions

 QOCIResultPrivate (QOCIResult *q, const QOCIDriver *drv)
 
 ~QOCIResultPrivate ()
 
void setStatementAttributes ()
 
int bindValue (OCIStmt *sql, OCIBind **hbnd, OCIError *err, int pos, const QVariant &val, dvoid *indPtr, ub2 *tmpSize, TempStorage &tmpStorage)
 
int bindValues (QVariantList &values, IndicatorArray &indicators, SizeArray &tmpSizes, TempStorage &tmpStorage)
 
void outValues (QVariantList &values, IndicatorArray &indicators, TempStorage &tmpStorage)
 
bool isOutValue (int i) const
 
bool isBinaryValue (int i) const
 
void setCharset (dvoid *handle, ub4 type) const
 
- Public Member Functions inherited from QSqlCachedResultPrivate
bool canSeek (int i) const
 
int cacheCount () const
 
void init (int count, bool fo)
 
void cleanup ()
 
int nextIndex ()
 
void revertLast ()
 
 QSqlResultPrivate (QSqlResult *q, const QSqlDriver *drv)
 
- Public Member Functions inherited from QSqlResultPrivate
 QSqlResultPrivate (QSqlResult *q, const QSqlDriver *drv)
 
virtual ~QSqlResultPrivate ()=default
 
void clearValues ()
 
void resetBindCount ()
 
void clearIndex ()
 
void clear ()
 
virtual QString fieldSerial (qsizetype) const
 
QString positionalToNamedBinding (const QString &query) const
 
QString namedToPositionalBinding (const QString &query)
 
QString holderAt (int index) const
 

Public Attributes

QOCIColscols = nullptr
 
OCIEnvenv
 
OCIError * err = nullptr
 
OCISvcCtx *& svc
 
OCIStmt * sql = nullptr
 
bool transaction
 
int serverVersion
 
int prefetchRows
 
int prefetchMem
 
- Public Attributes inherited from QSqlCachedResultPrivate
QSqlCachedResult::ValueCache cache
 
int rowCacheEnd = 0
 
int colCount = 0
 
bool atEnd = false
 
- Public Attributes inherited from QSqlResultPrivate
QSqlResultq_ptr = nullptr
 
QPointer< QSqlDriversqldriver
 
QString sql
 
QSqlError error
 
QString executedQuery
 
QHash< int, QSql::ParamType > types
 
QList< QVariantvalues
 
IndexMap indexes
 
QHolderVector holders
 
QSqlResult::BindingSyntax binds = QSqlResult::PositionalBinding
 
QSql::NumericalPrecisionPolicy precisionPolicy = QSql::LowPrecisionDouble
 
int idx = QSql::BeforeFirstRow
 
int bindCount = 0
 
bool active = false
 
bool isSel = false
 
bool forwardOnly = false
 
bool positionalBindingEnabled = true
 

Additional Inherited Members

- Public Types inherited from QSqlResultPrivate
using IndexMap = QHash<QString, QList<int>>
 
using QHolderVector = QList<QHolder>
 
- Static Public Member Functions inherited from QSqlResultPrivate
static bool isVariantNull (const QVariant &variant)
 

Detailed Description

Definition at line 232 of file qsql_oci.cpp.

Constructor & Destructor Documentation

◆ QOCIResultPrivate()

QOCIResultPrivate::QOCIResultPrivate ( QOCIResult * q,
const QOCIDriver * drv )

Definition at line 1799 of file qsql_oci.cpp.

References env, err, Q_ASSERT, and qCWarning.

◆ ~QOCIResultPrivate()

QOCIResultPrivate::~QOCIResultPrivate ( )

Definition at line 1817 of file qsql_oci.cpp.

References cols, err, qCWarning, and sql.

Member Function Documentation

◆ bindValue()

int QOCIResultPrivate::bindValue ( OCIStmt * sql,
OCIBind ** hbnd,
OCIError * err,
int pos,
const QVariant & val,
dvoid * indPtr,
ub2 * tmpSize,
TempStorage & tmpStorage )

Definition at line 327 of file qsql_oci.cpp.

References ba, QByteArray::capacity(), QByteArray::data(), pos, ptr(), Q_FALLTHROUGH, qCWarning, qMakeOCINumber(), qOraWarning(), QByteArray::reserve(), QByteArray::size(), QOCIResult::size(), and QMetaType::User.

+ Here is the call graph for this function:

◆ bindValues()

int QOCIResultPrivate::bindValues ( QVariantList & values,
IndicatorArray & indicators,
SizeArray & tmpSizes,
TempStorage & tmpStorage )

Definition at line 473 of file qsql_oci.cpp.

References QSqlResult::bindValue(), i, and QSqlResultPrivate::isVariantNull().

+ Here is the call graph for this function:

◆ isBinaryValue()

bool QOCIResultPrivate::isBinaryValue ( int i) const
inline

Definition at line 258 of file qsql_oci.cpp.

References QSql::Binary, and i.

◆ isOutValue()

bool QOCIResultPrivate::isOutValue ( int i) const
inline

Definition at line 256 of file qsql_oci.cpp.

References i, and QSql::Out.

◆ outValues()

void QOCIResultPrivate::outValues ( QVariantList & values,
IndicatorArray & indicators,
TempStorage & tmpStorage )

Definition at line 522 of file qsql_oci.cpp.

References i, and qOraOutValue().

+ Here is the call graph for this function:

◆ setCharset()

void QOCIResultPrivate::setCharset ( dvoid * handle,
ub4 type ) const
inline

Definition at line 261 of file qsql_oci.cpp.

References Q_ASSERT, qCWarning, qOraCharset, and qOraWarning().

Referenced by QOCICols::QOCICols().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setStatementAttributes()

void QOCIResultPrivate::setStatementAttributes ( )

Definition at line 297 of file qsql_oci.cpp.

References Q_ASSERT, and qOraWarning().

+ Here is the call graph for this function:

Member Data Documentation

◆ cols

QOCICols* QOCIResultPrivate::cols = nullptr

Definition at line 240 of file qsql_oci.cpp.

Referenced by ~QOCIResultPrivate().

◆ env

OCIEnv* QOCIResultPrivate::env

Definition at line 241 of file qsql_oci.cpp.

Referenced by QOCICols::QOCICols(), QOCIResultPrivate(), and QOCICols::getValues().

◆ err

OCIError* QOCIResultPrivate::err = nullptr

◆ prefetchMem

int QOCIResultPrivate::prefetchMem

Definition at line 247 of file qsql_oci.cpp.

◆ prefetchRows

int QOCIResultPrivate::prefetchRows

Definition at line 247 of file qsql_oci.cpp.

◆ serverVersion

int QOCIResultPrivate::serverVersion

Definition at line 246 of file qsql_oci.cpp.

◆ sql

OCIStmt* QOCIResultPrivate::sql = nullptr

Definition at line 244 of file qsql_oci.cpp.

Referenced by QOCICols::QOCICols(), ~QOCIResultPrivate(), and QOCICols::readPiecewise().

◆ svc

OCISvcCtx*& QOCIResultPrivate::svc

Definition at line 243 of file qsql_oci.cpp.

◆ transaction

bool QOCIResultPrivate::transaction

Definition at line 245 of file qsql_oci.cpp.


The documentation for this class was generated from the following file: