Qt 6.x
The Qt SDK
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
 

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 229 of file qsql_oci.cpp.

Constructor & Destructor Documentation

◆ QOCIResultPrivate()

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

Definition at line 1802 of file qsql_oci.cpp.

References env, err, Q_ASSERT, and qWarning.

◆ ~QOCIResultPrivate()

QOCIResultPrivate::~QOCIResultPrivate ( )

Definition at line 1820 of file qsql_oci.cpp.

References cols, err, qWarning, 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 324 of file qsql_oci.cpp.

References QList< T >::append(), ba, QByteArray::capacity(), QByteArray::data(), TempStorage::dateTimes, pos, ptr(), Q_FALLTHROUGH, qMakeOCINumber(), qOraWarning(), qWarning, TempStorage::rawData, 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 470 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 255 of file qsql_oci.cpp.

References QSql::Binary, and i.

◆ isOutValue()

bool QOCIResultPrivate::isOutValue ( int  i) const
inline

Definition at line 253 of file qsql_oci.cpp.

References i, and QSql::Out.

◆ outValues()

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

Definition at line 519 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 258 of file qsql_oci.cpp.

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

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 294 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 237 of file qsql_oci.cpp.

Referenced by ~QOCIResultPrivate().

◆ env

OCIEnv* QOCIResultPrivate::env

Definition at line 238 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 244 of file qsql_oci.cpp.

◆ prefetchRows

int QOCIResultPrivate::prefetchRows

Definition at line 244 of file qsql_oci.cpp.

◆ serverVersion

int QOCIResultPrivate::serverVersion

Definition at line 243 of file qsql_oci.cpp.

◆ sql

OCIStmt* QOCIResultPrivate::sql = nullptr

Definition at line 241 of file qsql_oci.cpp.

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

◆ svc

OCISvcCtx*& QOCIResultPrivate::svc

Definition at line 240 of file qsql_oci.cpp.

◆ transaction

bool QOCIResultPrivate::transaction

Definition at line 242 of file qsql_oci.cpp.


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