<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Class Poco::Data::SQLite::SQLiteStatementImpl</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="language" content="en"/> <meta name="date" content="2009-11-24"/> <meta name="generator" content="PocoDoc"/> <link rel="stylesheet" href="css/styles.css" type="text/css"/> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0"> <div class="header"> <h1 class="namespace"><a href="Poco.Data.SQLite.html" class="namespace">Poco::Data::SQLite</a></h1> <h1 class="symbol">class SQLiteStatementImpl</h1> </div> <div class="body"> <p> <b>Library:</b> Data/SQLite<br /> <b>Package:</b> SQLite<br /> <b>Header:</b> Poco/Data/SQLite/SQLiteStatementImpl.h</p> <h2>Description</h2> <div class="description"> <p>Implements statement functionality needed for <a href="Poco.Data.SQLite.html" title="namespace Poco::Data::SQLite">SQLite</a> </p> </div> <h2>Inheritance</h2> <p><b>Direct Base Classes: </b><a href="Poco.Data.StatementImpl.html" title="class Poco::Data::StatementImpl">Poco::Data::StatementImpl</a></p> <p><b>All Base Classes: </b><a href="Poco.Data.StatementImpl.html" title="class Poco::Data::StatementImpl">Poco::Data::StatementImpl</a>, <a href="Poco.RefCountedObject.html" title="class Poco::RefCountedObject">Poco::RefCountedObject</a></p> <h2>Member Summary</h2> <p><b>Member Functions: </b><a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1993" title="Poco::Data::SQLite::SQLiteStatementImpl::bindImpl()">bindImpl</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1995" title="Poco::Data::SQLite::SQLiteStatementImpl::binder()">binder</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1990" title="Poco::Data::SQLite::SQLiteStatementImpl::canBind()">canBind</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1985" title="Poco::Data::SQLite::SQLiteStatementImpl::columnsReturned()">columnsReturned</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1991" title="Poco::Data::SQLite::SQLiteStatementImpl::compileImpl()">compileImpl</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1992" title="Poco::Data::SQLite::SQLiteStatementImpl::compileImplImpl()">compileImplImpl</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1994" title="Poco::Data::SQLite::SQLiteStatementImpl::extractor()">extractor</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1988" title="Poco::Data::SQLite::SQLiteStatementImpl::hasNext()">hasNext</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1986" title="Poco::Data::SQLite::SQLiteStatementImpl::metaColumn()">metaColumn</a>, <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1989" title="Poco::Data::SQLite::SQLiteStatementImpl::next()">next</a></p> <p><b>Inherited Functions: </b><a href="Poco.Data.StatementImpl.html#3082" title="Poco::Data::StatementImpl::add()">add</a>, <a href="Poco.Data.StatementImpl.html#3084" title="Poco::Data::StatementImpl::addBinding()">addBinding</a>, <a href="Poco.Data.StatementImpl.html#3086" title="Poco::Data::StatementImpl::addExtract()">addExtract</a>, <a href="Poco.Data.StatementImpl.html#3103" title="Poco::Data::StatementImpl::bindImpl()">bindImpl</a>, <a href="Poco.Data.StatementImpl.html#3106" title="Poco::Data::StatementImpl::binder()">binder</a>, <a href="Poco.Data.StatementImpl.html#3108" title="Poco::Data::StatementImpl::bindings()">bindings</a>, <a href="Poco.Data.StatementImpl.html#3101" title="Poco::Data::StatementImpl::canBind()">canBind</a>, <a href="Poco.Data.StatementImpl.html#3107" title="Poco::Data::StatementImpl::columnsExtracted()">columnsExtracted</a>, <a href="Poco.Data.StatementImpl.html#3094" title="Poco::Data::StatementImpl::columnsReturned()">columnsReturned</a>, <a href="Poco.Data.StatementImpl.html#3102" title="Poco::Data::StatementImpl::compileImpl()">compileImpl</a>, <a href="Poco.RefCountedObject.html#9659" title="Poco::RefCountedObject::duplicate()">duplicate</a>, <a href="Poco.Data.StatementImpl.html#3091" title="Poco::Data::StatementImpl::execute()">execute</a>, <a href="Poco.Data.StatementImpl.html#3105" title="Poco::Data::StatementImpl::extractions()">extractions</a>, <a href="Poco.Data.StatementImpl.html#3104" title="Poco::Data::StatementImpl::extractor()">extractor</a>, <a href="Poco.Data.StatementImpl.html#3093" title="Poco::Data::StatementImpl::getState()">getState</a>, <a href="Poco.Data.StatementImpl.html#3099" title="Poco::Data::StatementImpl::hasNext()">hasNext</a>, <a href="Poco.Data.StatementImpl.html#3111" title="Poco::Data::StatementImpl::makeExtractors()">makeExtractors</a>, <a href="Poco.Data.StatementImpl.html#3095" title="Poco::Data::StatementImpl::metaColumn()">metaColumn</a>, <a href="Poco.Data.StatementImpl.html#3100" title="Poco::Data::StatementImpl::next()">next</a>, <a href="Poco.RefCountedObject.html#9661" title="Poco::RefCountedObject::referenceCount()">referenceCount</a>, <a href="Poco.RefCountedObject.html#9660" title="Poco::RefCountedObject::release()">release</a>, <a href="Poco.Data.StatementImpl.html#3092" title="Poco::Data::StatementImpl::reset()">reset</a>, <a href="Poco.Data.StatementImpl.html#3088" title="Poco::Data::StatementImpl::setExtractionLimit()">setExtractionLimit</a>, <a href="Poco.Data.StatementImpl.html#3090" title="Poco::Data::StatementImpl::toString()">toString</a></p> <h2>Constructors</h2> <h3><a name="1979">SQLiteStatementImpl</a></h3> <p class="decl"><a href="Poco.Data.SQLite.SQLiteStatementImpl.html" title="class Poco::Data::SQLite::SQLiteStatementImpl">SQLiteStatementImpl</a>(<br /> sqlite3 * pDB,<br /> int maxRetryAttempts,<br /> int minRetrySleep,<br /> int maxRetrySleep<br />);</p> <div class="description"> <p>Creates the <a href="Poco.Data.SQLite.SQLiteStatementImpl.html" title="class Poco::Data::SQLite::SQLiteStatementImpl">SQLiteStatementImpl</a>. </p> </div> <h2>Destructor</h2> <h3><a name="1984">~SQLiteStatementImpl</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">~<a href="Poco.Data.SQLite.SQLiteStatementImpl.html" title="class Poco::Data::SQLite::SQLiteStatementImpl">SQLiteStatementImpl</a>();</p> <div class="description"> <p>Destroys the <a href="Poco.Data.SQLite.SQLiteStatementImpl.html" title="class Poco::Data::SQLite::SQLiteStatementImpl">SQLiteStatementImpl</a>. </p> </div> <h2>Member Functions</h2> <h3><a name="1993">bindImpl</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">void bindImpl();</p> <div class="description"> <p>Binds parameters </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3103" title="Poco::Data::StatementImpl::bindImpl()">Poco::Data::StatementImpl::bindImpl()</a></p></div> <h3><a name="1995">binder</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl"><a href="Poco.Data.AbstractBinder.html" title="class Poco::Data::AbstractBinder">AbstractBinder</a> & binder();</p> <div class="description"> <p>Returns the concrete binder used by the statement. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3106" title="Poco::Data::StatementImpl::binder()">Poco::Data::StatementImpl::binder()</a></p></div> <h3><a name="1990">canBind</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">bool canBind() const;</p> <div class="description"> <p>Returns true if a valid statement is set and we can bind. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3101" title="Poco::Data::StatementImpl::canBind()">Poco::Data::StatementImpl::canBind()</a></p></div> <h3><a name="1985">columnsReturned</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl"><a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> columnsReturned() const;</p> <div class="description"> <p>Returns number of columns returned by query. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3094" title="Poco::Data::StatementImpl::columnsReturned()">Poco::Data::StatementImpl::columnsReturned()</a></p></div> <h3><a name="1991">compileImpl</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">void compileImpl();</p> <div class="description"> <p>Compiles the statement, doesn't bind yet, retries if the database is locked. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3102" title="Poco::Data::StatementImpl::compileImpl()">Poco::Data::StatementImpl::compileImpl()</a></p></div> <h3><a name="1992">compileImplImpl</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">void compileImplImpl();</p> <div class="description"> <p>Compiles the statement, doesn't bind yet </p> </div> <h3><a name="1994">extractor</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl"><a href="Poco.Data.AbstractExtractor.html" title="class Poco::Data::AbstractExtractor">AbstractExtractor</a> & extractor();</p> <div class="description"> <p>Returns the concrete extractor used by the statement. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3104" title="Poco::Data::StatementImpl::extractor()">Poco::Data::StatementImpl::extractor()</a></p></div> <h3><a name="1988">hasNext</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">bool hasNext();</p> <div class="description"> <p>Returns true if a call to <a href="Poco.Data.SQLite.SQLiteStatementImpl.html#1989" title="Poco::Data::SQLite::SQLiteStatementImpl::next()">next</a>() will return data. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3099" title="Poco::Data::StatementImpl::hasNext()">Poco::Data::StatementImpl::hasNext()</a></p></div> <h3><a name="1986">metaColumn</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">const <a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a> & metaColumn(<br /> <a href="Poco.html#11354" title="Poco::UInt32">Poco::UInt32</a> pos<br />) const;</p> <div class="description"> <p>Returns column meta data. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3095" title="Poco::Data::StatementImpl::metaColumn()">Poco::Data::StatementImpl::metaColumn()</a></p></div> <h3><a name="1989">next</a> <img src="images/protected.gif" alt="protected" title="protected" style="vertical-align:baseline;" border="0" /> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">void next();</p> <div class="description"> <p>Retrieves the next row from the resultset. Will throw, if the resultset is empty. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Data.StatementImpl.html#3100" title="Poco::Data::StatementImpl::next()">Poco::Data::StatementImpl::next()</a></p></div> <p class="footer">POCO C++ Libraries 1.3.6-all<br /> Copyright © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p> </div> </body> </html>