HDK
|
#include <UT_SQL.h>
Classes | |
struct | Blob |
struct | null_tag_t |
Public Types | |
enum | DataType { kUnknown = -1, kInteger, kFloat, kBlob, kText, kNull } |
Public Member Functions | |
virtual | ~UT_SqlStatementImpl ()=default |
UT_NON_COPYABLE (UT_SqlStatementImpl) | |
const UT_SqlBaseDriver & | driver () const |
virtual void | reset (bool clear_bindings=false)=0 |
virtual void | prepare (const UT_StringRef &sql, UT_ErrorCode *ec=nullptr)=0 |
virtual NO_DISCARD int | columnAsInt (int idx) const =0 |
virtual NO_DISCARD bool | columnAsBool (int idx) const =0 |
virtual NO_DISCARD int64 | columnAsInt64 (int idx) const =0 |
virtual NO_DISCARD UT_StringHolder | columnAsStr (int idx) const =0 |
virtual NO_DISCARD double | columnAsDouble (int idx) const =0 |
virtual NO_DISCARD UT_IntArray | columnAsIntArray (int idx) const =0 |
virtual NO_DISCARD UT_Int64Array | columnAsInt64Array (int idx) const =0 |
virtual NO_DISCARD UT_DateTimeField | columnAsDate (int idx) const =0 |
virtual NO_DISCARD const void * | columnAsBlob (int idx, int &size) const =0 |
virtual NO_DISCARD Blob | columnAsBlob (int idx) const =0 |
virtual NO_DISCARD null_tag_t | columnAsNull (int idx) const =0 |
virtual NO_DISCARD UT_StringHolder | columnName (int idx) const =0 |
virtual NO_DISCARD int | columnCount () const =0 |
virtual NO_DISCARD DataType | columnType (int idx) const =0 |
virtual NO_DISCARD int | columnBytes (int idx) const =0 |
virtual const UT_StringHolder & | intTypeString () const =0 |
virtual const UT_StringHolder & | stringTypeString () const =0 |
virtual const UT_StringHolder & | nullTypeString () const =0 |
virtual const UT_StringHolder & | realTypeString () const =0 |
virtual const UT_StringHolder & | blobTypeString () const =0 |
virtual const UT_StringHolder & | dateTimeTypeString () const =0 |
virtual const UT_StringHolder & | boolTypeString () const =0 |
virtual const char * | sql () const =0 |
virtual bool | bind (int idx, null_tag_t)=0 |
virtual bool | bind (int idx, const UT_StringRef &value)=0 |
virtual bool | bind (int idx, const char *value)=0 |
virtual bool | bind (int idx, int value)=0 |
virtual bool | bind (int idx, int64 value)=0 |
virtual bool | bind (int idx, bool value)=0 |
virtual bool | bind (int idx, double value)=0 |
virtual bool | bind (int idx, const UT_IntArray &value)=0 |
virtual bool | bind (int idx, const UT_Int64Array &value)=0 |
virtual bool | bind (int idx, const UT_StringArray &value)=0 |
virtual bool | bind (int idx, const UT_DateTimeField &dt)=0 |
virtual bool | bind (int idx, const void *value, int size)=0 |
bool | bind (int idx, Blob blob) |
virtual NO_DISCARD bool | isValid () const =0 |
const UT_ErrorCode & | getError () const |
virtual bool | step ()=0 |
virtual bool | run ()=0 |
virtual int | changes () const =0 |
virtual bool | hasRow ()=0 |
virtual NO_DISCARD bool | tableExists (const UT_StringRef &name, UT_ErrorCode *ec=nullptr) const =0 |
Protected Member Functions | |
UT_SqlStatementImpl (const UT_SqlBaseDriver &driver) | |
Protected Attributes | |
const UT_SqlBaseDriver & | myDriver |
UT_ErrorCode | myError |
|
virtualdefault |
|
inlineprotected |
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
Implemented in UT_SqliteStatementImpl.
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
inline |
|
inline |
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
|
pure virtual |
Implemented in UT_SqliteStatementImpl.
UT_SqlStatementImpl::UT_NON_COPYABLE | ( | UT_SqlStatementImpl | ) |
|
protected |
|
mutableprotected |