Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 *stmtp, OCIBind **hbnd, OCIError *err, int pos, const QVariant &val, dvoid *indPtr, ub4 *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
 QOCIResultPrivate (QOCIResult *q, const QOCIDriver *drv)
 ~QOCIResultPrivate ()
void setStatementAttributes ()
int bindValue (OCIStmt *stmtp, OCIBind **hbnd, OCIError *err, int pos, const QVariant &val, dvoid *indPtr, ub4 *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 * stmtp = 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 210 of file qsql_oci.cpp.

Constructor & Destructor Documentation

◆ QOCIResultPrivate() [1/2]

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

Definition at line 1778 of file qsql_oci.cpp.

References env, prefetchMem, prefetchRows, serverVersion, svc, and transaction.

◆ ~QOCIResultPrivate() [1/2]

QOCIResultPrivate::~QOCIResultPrivate ( )

Definition at line 1796 of file qsql_oci.cpp.

References cols.

◆ QOCIResultPrivate() [2/2]

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

◆ ~QOCIResultPrivate() [2/2]

QOCIResultPrivate::~QOCIResultPrivate ( )

Member Function Documentation

◆ bindValue() [1/2]

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

Definition at line 305 of file qsql_oci.cpp.

References env, isBinaryValue(), and isOutValue().

Here is the call graph for this function:

◆ bindValue() [2/2]

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

◆ bindValues() [1/2]

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

Definition at line 464 of file qsql_oci.cpp.

References isOutValue().

Here is the call graph for this function:

◆ bindValues() [2/2]

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

◆ isBinaryValue() [1/2]

bool QOCIResultPrivate::isBinaryValue ( int i) const
inline

Definition at line 236 of file qsql_oci.cpp.

Referenced by bindValue().

Here is the caller graph for this function:

◆ isBinaryValue() [2/2]

bool QOCIResultPrivate::isBinaryValue ( int i) const
inline

Definition at line 236 of file qsql_oci.cpp.

◆ isOutValue() [1/2]

bool QOCIResultPrivate::isOutValue ( int i) const
inline

Definition at line 234 of file qsql_oci.cpp.

Referenced by bindValue(), bindValues(), QOCICols::execBatch(), and outValues().

Here is the caller graph for this function:

◆ isOutValue() [2/2]

bool QOCIResultPrivate::isOutValue ( int i) const
inline

Definition at line 234 of file qsql_oci.cpp.

◆ outValues() [1/2]

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

Definition at line 513 of file qsql_oci.cpp.

References isOutValue().

Here is the call graph for this function:

◆ outValues() [2/2]

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

◆ setCharset() [1/2]

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

Definition at line 239 of file qsql_oci.cpp.

◆ setCharset() [2/2]

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

Definition at line 239 of file qsql_oci.cpp.

◆ setStatementAttributes() [1/2]

void QOCIResultPrivate::setStatementAttributes ( )

Definition at line 275 of file qsql_oci.cpp.

References prefetchMem, and prefetchRows.

◆ setStatementAttributes() [2/2]

void QOCIResultPrivate::setStatementAttributes ( )

Member Data Documentation

◆ cols

QOCICols * QOCIResultPrivate::cols = nullptr

Definition at line 218 of file qsql_oci.cpp.

Referenced by ~QOCIResultPrivate().

◆ env

OCIEnv * QOCIResultPrivate::env

Definition at line 219 of file qsql_oci.cpp.

Referenced by QOCIResultPrivate(), bindValue(), QOCICols::execBatch(), and qReadLob().

◆ err

OCIError * QOCIResultPrivate::err = nullptr

Definition at line 220 of file qsql_oci.cpp.

◆ prefetchMem

int QOCIResultPrivate::prefetchMem

Definition at line 225 of file qsql_oci.cpp.

Referenced by QOCIResultPrivate(), and setStatementAttributes().

◆ prefetchRows

int QOCIResultPrivate::prefetchRows

Definition at line 225 of file qsql_oci.cpp.

Referenced by QOCIResultPrivate(), and setStatementAttributes().

◆ serverVersion

int QOCIResultPrivate::serverVersion

Definition at line 224 of file qsql_oci.cpp.

Referenced by QOCIResultPrivate().

◆ stmtp

OCIStmt * QOCIResultPrivate::stmtp = nullptr

Definition at line 222 of file qsql_oci.cpp.

◆ svc

OCISvcCtx *& QOCIResultPrivate::svc

Definition at line 221 of file qsql_oci.cpp.

Referenced by QOCIResultPrivate(), and qReadLob().

◆ transaction

bool QOCIResultPrivate::transaction

Definition at line 223 of file qsql_oci.cpp.

Referenced by QOCIResultPrivate().


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