SqlBlob.cpp File Reference

const TInt KTimeThresholdInMicroSecs

const TIntKTimeThresholdInMicroSecs

const TInt KLargestBlockSize

const TIntKLargestBlockSize

const TInt KUseClientBufferThreshold

const TIntKUseClientBufferThreshold

PrepareIpcParamBufLC(const TDesC &, const TDesC &, TInt64, TBool, const TDesC &)

HBufC8 *PrepareIpcParamBufLC(const TDesC &aTableName,
const TDesC &aColumnName,
TInt64aRowId,
TBoolaReadOnly,
const TDesC &aDbName
)[static]

Parameters

const TDesC & aTableName
const TDesC & aColumnName
TInt64 aRowId
TBool aReadOnly
const TDesC & aDbName

CreateIpcStreamL(RSqlDbSession &, const TDesC8 &)

MStreamBuf *CreateIpcStreamL(RSqlDbSession &aDbSession,
const TDesC8 &aIpcPrmBuf
)[static]

Parameters

RSqlDbSession & aDbSession
const TDesC8 & aIpcPrmBuf

CalculateBlockSize(TInt, TInt, TBool)

TInt CalculateBlockSize(TIntaRemainingDataSize,
TIntaPreviousBlockSize,
TBoolaTimeThresholdBreached
)[static]

Parameters

TInt aRemainingDataSize
TInt aPreviousBlockSize
TBool aTimeThresholdBreached

DoReadInBlocksL(RSqlBlobReadStream &, TDes8 &, TInt)

voidDoReadInBlocksL(RSqlBlobReadStream &aStrm,
TDes8 &aDestBuffer,
TIntaBlobSize
)[static]

Parameters

RSqlBlobReadStream & aStrm
TDes8 & aDestBuffer
TInt aBlobSize

DoWriteInBlocksL(RSqlBlobWriteStream &, const TDesC8 &, TInt)

voidDoWriteInBlocksL(RSqlBlobWriteStream &aStrm,
const TDesC8 &aData,
TIntaDataSize
)[static]

Parameters

RSqlBlobWriteStream & aStrm
const TDesC8 & aData
TInt aDataSize

ReadLC(RSqlDatabase &, const TDesC &, const TDesC &, TInt64, const TDesC &)

HBufC8 *ReadLC(RSqlDatabase &aDb,
const TDesC &aTableName,
const TDesC &aColumnName,
TInt64aRowId,
const TDesC &aDbName
)[static]

Parameters

RSqlDatabase & aDb
const TDesC & aTableName
const TDesC & aColumnName
TInt64 aRowId
const TDesC & aDbName

ReadL(RSqlDatabase &, const TDesC &, const TDesC &, TDes8 &, TInt64, const TDesC &)

voidReadL(RSqlDatabase &aDb,
const TDesC &aTableName,
const TDesC &aColumnName,
TDes8 &aBuffer,
TInt64aRowId,
const TDesC &aDbName
)[static]

Parameters

RSqlDatabase & aDb
const TDesC & aTableName
const TDesC & aColumnName
TDes8 & aBuffer
TInt64 aRowId
const TDesC & aDbName

WriteL(RSqlDatabase &, const TDesC &, const TDesC &, const TDesC8 &, TInt64, const TDesC &)

voidWriteL(RSqlDatabase &aDb,
const TDesC &aTableName,
const TDesC &aColumnName,
const TDesC8 &aData,
TInt64aRowId,
const TDesC &aDbName
)[static]

Parameters

RSqlDatabase & aDb
const TDesC & aTableName
const TDesC & aColumnName
const TDesC8 & aData
TInt64 aRowId
const TDesC & aDbName