webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::SQLiteStatement Class Reference

#include <SQLiteStatement.h>

Public Member Functions

WEBCORE_EXPORT SQLiteStatement (SQLiteDatabase &, const String &)
 
WEBCORE_EXPORT ~SQLiteStatement ()
 
WEBCORE_EXPORT int prepare ()
 
WEBCORE_EXPORT int bindBlob (int index, const void *blob, int size)
 
WEBCORE_EXPORT int bindBlob (int index, const String &)
 
WEBCORE_EXPORT int bindText (int index, const String &)
 
WEBCORE_EXPORT int bindInt (int index, int)
 
WEBCORE_EXPORT int bindInt64 (int index, int64_t)
 
WEBCORE_EXPORT int bindDouble (int index, double)
 
WEBCORE_EXPORT int bindNull (int index)
 
WEBCORE_EXPORT int bindValue (int index, const SQLValue &)
 
WEBCORE_EXPORT unsigned bindParameterCount () const
 
WEBCORE_EXPORT int step ()
 
WEBCORE_EXPORT int finalize ()
 
WEBCORE_EXPORT int reset ()
 
int prepareAndStep ()
 
WEBCORE_EXPORT bool executeCommand ()
 
bool returnsAtLeastOneResult ()
 
bool isExpired ()
 
int columnCount ()
 
WEBCORE_EXPORT bool isColumnNull (int col)
 
WEBCORE_EXPORT bool isColumnDeclaredAsBlob (int col)
 
String getColumnName (int col)
 
SQLValue getColumnValue (int col)
 
WEBCORE_EXPORT String getColumnText (int col)
 
double getColumnDouble (int col)
 
WEBCORE_EXPORT int getColumnInt (int col)
 
WEBCORE_EXPORT int64_t getColumnInt64 (int col)
 
WEBCORE_EXPORT String getColumnBlobAsString (int col)
 
WEBCORE_EXPORT void getColumnBlobAsVector (int col, Vector< char > &)
 
WEBCORE_EXPORT void getColumnBlobAsVector (int col, Vector< uint8_t > &)
 
bool returnTextResults (int col, Vector< String > &)
 
bool returnIntResults (int col, Vector< int > &)
 
bool returnInt64Results (int col, Vector< int64_t > &)
 
bool returnDoubleResults (int col, Vector< double > &)
 
SQLiteDatabasedatabase ()
 
const Stringquery () const
 
WEBCORE_EXPORT SQLiteStatement (SQLiteDatabase &, const String &)
 
WEBCORE_EXPORT ~SQLiteStatement ()
 
WEBCORE_EXPORT int prepare ()
 
WEBCORE_EXPORT int bindBlob (int index, const void *blob, int size)
 
WEBCORE_EXPORT int bindBlob (int index, const String &)
 
WEBCORE_EXPORT int bindText (int index, const String &)
 
WEBCORE_EXPORT int bindInt (int index, int)
 
WEBCORE_EXPORT int bindInt64 (int index, int64_t)
 
WEBCORE_EXPORT int bindDouble (int index, double)
 
WEBCORE_EXPORT int bindNull (int index)
 
WEBCORE_EXPORT int bindValue (int index, const SQLValue &)
 
WEBCORE_EXPORT unsigned bindParameterCount () const
 
WEBCORE_EXPORT int step ()
 
WEBCORE_EXPORT int finalize ()
 
WEBCORE_EXPORT int reset ()
 
int prepareAndStep ()
 
WEBCORE_EXPORT bool executeCommand ()
 
bool returnsAtLeastOneResult ()
 
bool isExpired ()
 
int columnCount ()
 
WEBCORE_EXPORT bool isColumnNull (int col)
 
WEBCORE_EXPORT bool isColumnDeclaredAsBlob (int col)
 
String getColumnName (int col)
 
SQLValue getColumnValue (int col)
 
WEBCORE_EXPORT String getColumnText (int col)
 
double getColumnDouble (int col)
 
WEBCORE_EXPORT int getColumnInt (int col)
 
WEBCORE_EXPORT int64_t getColumnInt64 (int col)
 
WEBCORE_EXPORT String getColumnBlobAsString (int col)
 
WEBCORE_EXPORT void getColumnBlobAsVector (int col, Vector< char > &)
 
WEBCORE_EXPORT void getColumnBlobAsVector (int col, Vector< uint8_t > &)
 
bool returnTextResults (int col, Vector< String > &)
 
bool returnIntResults (int col, Vector< int > &)
 
bool returnInt64Results (int col, Vector< int64_t > &)
 
bool returnDoubleResults (int col, Vector< double > &)
 
SQLiteDatabasedatabase ()
 
const Stringquery () const
 

Constructor & Destructor Documentation

◆ SQLiteStatement() [1/2]

WebCore::SQLiteStatement::SQLiteStatement ( SQLiteDatabase db,
const String sql 
)

◆ ~SQLiteStatement() [1/2]

WebCore::SQLiteStatement::~SQLiteStatement ( )

◆ SQLiteStatement() [2/2]

WEBCORE_EXPORT WebCore::SQLiteStatement::SQLiteStatement ( SQLiteDatabase ,
const String  
)

◆ ~SQLiteStatement() [2/2]

WEBCORE_EXPORT WebCore::SQLiteStatement::~SQLiteStatement ( )

Member Function Documentation

◆ bindBlob() [1/4]

int WebCore::SQLiteStatement::bindBlob ( int  index,
const void blob,
int  size 
)

◆ bindBlob() [2/4]

WEBCORE_EXPORT int WebCore::SQLiteStatement::bindBlob ( int  index,
const void blob,
int  size 
)

◆ bindBlob() [3/4]

WEBCORE_EXPORT int WebCore::SQLiteStatement::bindBlob ( int  index,
const String  
)

◆ bindBlob() [4/4]

int WebCore::SQLiteStatement::bindBlob ( int  index,
const String text 
)

◆ bindDouble() [1/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::bindDouble ( int  index,
double   
)

◆ bindDouble() [2/2]

int WebCore::SQLiteStatement::bindDouble ( int  index,
double  number 
)

◆ bindInt() [1/2]

int WebCore::SQLiteStatement::bindInt ( int  index,
int  integer 
)

◆ bindInt() [2/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::bindInt ( int  index,
int   
)

◆ bindInt64() [1/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::bindInt64 ( int  index,
int64_t   
)

◆ bindInt64() [2/2]

int WebCore::SQLiteStatement::bindInt64 ( int  index,
int64_t  integer 
)

◆ bindNull() [1/2]

int WebCore::SQLiteStatement::bindNull ( int  index)

◆ bindNull() [2/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::bindNull ( int  index)

◆ bindParameterCount() [1/2]

unsigned WebCore::SQLiteStatement::bindParameterCount ( ) const

◆ bindParameterCount() [2/2]

WEBCORE_EXPORT unsigned WebCore::SQLiteStatement::bindParameterCount ( ) const

◆ bindText() [1/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::bindText ( int  index,
const String  
)

◆ bindText() [2/2]

int WebCore::SQLiteStatement::bindText ( int  index,
const String text 
)

◆ bindValue() [1/2]

int WebCore::SQLiteStatement::bindValue ( int  index,
const SQLValue value 
)

◆ bindValue() [2/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::bindValue ( int  index,
const SQLValue  
)

◆ columnCount() [1/2]

int WebCore::SQLiteStatement::columnCount ( )

◆ columnCount() [2/2]

int WebCore::SQLiteStatement::columnCount ( )

◆ database() [1/2]

SQLiteDatabase& WebCore::SQLiteStatement::database ( )
inline

◆ database() [2/2]

SQLiteDatabase& WebCore::SQLiteStatement::database ( )
inline

◆ executeCommand() [1/2]

WEBCORE_EXPORT bool WebCore::SQLiteStatement::executeCommand ( )

◆ executeCommand() [2/2]

bool WebCore::SQLiteStatement::executeCommand ( )

◆ finalize() [1/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::finalize ( )

◆ finalize() [2/2]

int WebCore::SQLiteStatement::finalize ( )

◆ getColumnBlobAsString() [1/2]

String WebCore::SQLiteStatement::getColumnBlobAsString ( int  col)

◆ getColumnBlobAsString() [2/2]

WEBCORE_EXPORT String WebCore::SQLiteStatement::getColumnBlobAsString ( int  col)

◆ getColumnBlobAsVector() [1/4]

void WebCore::SQLiteStatement::getColumnBlobAsVector ( int  col,
Vector< char > &  result 
)

◆ getColumnBlobAsVector() [2/4]

WEBCORE_EXPORT void WebCore::SQLiteStatement::getColumnBlobAsVector ( int  col,
Vector< char > &   
)

◆ getColumnBlobAsVector() [3/4]

WEBCORE_EXPORT void WebCore::SQLiteStatement::getColumnBlobAsVector ( int  col,
Vector< uint8_t > &   
)

◆ getColumnBlobAsVector() [4/4]

void WebCore::SQLiteStatement::getColumnBlobAsVector ( int  col,
Vector< uint8_t > &  result 
)

◆ getColumnDouble() [1/2]

double WebCore::SQLiteStatement::getColumnDouble ( int  col)

◆ getColumnDouble() [2/2]

double WebCore::SQLiteStatement::getColumnDouble ( int  col)

◆ getColumnInt() [1/2]

int WebCore::SQLiteStatement::getColumnInt ( int  col)

◆ getColumnInt() [2/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::getColumnInt ( int  col)

◆ getColumnInt64() [1/2]

WEBCORE_EXPORT int64_t WebCore::SQLiteStatement::getColumnInt64 ( int  col)

◆ getColumnInt64() [2/2]

int64_t WebCore::SQLiteStatement::getColumnInt64 ( int  col)

◆ getColumnName() [1/2]

String WebCore::SQLiteStatement::getColumnName ( int  col)

◆ getColumnName() [2/2]

String WebCore::SQLiteStatement::getColumnName ( int  col)

◆ getColumnText() [1/2]

WEBCORE_EXPORT String WebCore::SQLiteStatement::getColumnText ( int  col)

◆ getColumnText() [2/2]

String WebCore::SQLiteStatement::getColumnText ( int  col)

◆ getColumnValue() [1/2]

SQLValue WebCore::SQLiteStatement::getColumnValue ( int  col)

◆ getColumnValue() [2/2]

SQLValue WebCore::SQLiteStatement::getColumnValue ( int  col)

◆ isColumnDeclaredAsBlob() [1/2]

bool WebCore::SQLiteStatement::isColumnDeclaredAsBlob ( int  col)

◆ isColumnDeclaredAsBlob() [2/2]

WEBCORE_EXPORT bool WebCore::SQLiteStatement::isColumnDeclaredAsBlob ( int  col)

◆ isColumnNull() [1/2]

WEBCORE_EXPORT bool WebCore::SQLiteStatement::isColumnNull ( int  col)

◆ isColumnNull() [2/2]

bool WebCore::SQLiteStatement::isColumnNull ( int  col)

◆ isExpired() [1/2]

bool WebCore::SQLiteStatement::isExpired ( )

◆ isExpired() [2/2]

bool WebCore::SQLiteStatement::isExpired ( )

◆ prepare() [1/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::prepare ( )

◆ prepare() [2/2]

int WebCore::SQLiteStatement::prepare ( )

◆ prepareAndStep() [1/2]

int WebCore::SQLiteStatement::prepareAndStep ( )
inline

◆ prepareAndStep() [2/2]

int WebCore::SQLiteStatement::prepareAndStep ( )
inline

◆ query() [1/2]

const String& WebCore::SQLiteStatement::query ( ) const
inline

◆ query() [2/2]

const String& WebCore::SQLiteStatement::query ( ) const
inline

◆ reset() [1/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::reset ( )

◆ reset() [2/2]

int WebCore::SQLiteStatement::reset ( )

◆ returnDoubleResults() [1/2]

bool WebCore::SQLiteStatement::returnDoubleResults ( int  col,
Vector< double > &  v 
)

◆ returnDoubleResults() [2/2]

bool WebCore::SQLiteStatement::returnDoubleResults ( int  col,
Vector< double > &   
)

◆ returnInt64Results() [1/2]

bool WebCore::SQLiteStatement::returnInt64Results ( int  col,
Vector< int64_t > &   
)

◆ returnInt64Results() [2/2]

bool WebCore::SQLiteStatement::returnInt64Results ( int  col,
Vector< int64_t > &  v 
)

◆ returnIntResults() [1/2]

bool WebCore::SQLiteStatement::returnIntResults ( int  col,
Vector< int > &   
)

◆ returnIntResults() [2/2]

bool WebCore::SQLiteStatement::returnIntResults ( int  col,
Vector< int > &  v 
)

◆ returnsAtLeastOneResult() [1/2]

bool WebCore::SQLiteStatement::returnsAtLeastOneResult ( )

◆ returnsAtLeastOneResult() [2/2]

bool WebCore::SQLiteStatement::returnsAtLeastOneResult ( )

◆ returnTextResults() [1/2]

bool WebCore::SQLiteStatement::returnTextResults ( int  col,
Vector< String > &  v 
)

◆ returnTextResults() [2/2]

bool WebCore::SQLiteStatement::returnTextResults ( int  col,
Vector< String > &   
)

◆ step() [1/2]

int WebCore::SQLiteStatement::step ( )

◆ step() [2/2]

WEBCORE_EXPORT int WebCore::SQLiteStatement::step ( )

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