Library: Data/SQLite
Package: SQLite
Header: Poco/Data/SQLite/SQLiteStatementImpl.h
Implements statement functionality needed for SQLite
Direct Base Classes: Poco::Data::StatementImpl
All Base Classes: Poco::Data::StatementImpl, Poco::RefCountedObject
Member Functions: bindImpl, binder, canBind, columnsReturned, compileImpl, compileImplImpl, extractor, hasNext, metaColumn, next
Inherited Functions: add, addBinding, addExtract, bindImpl, binder, bindings, canBind, columnsExtracted, columnsReturned, compileImpl, duplicate, execute, extractions, extractor, getState, hasNext, makeExtractors, metaColumn, next, referenceCount, release, reset, setExtractionLimit, toString
SQLiteStatementImpl(
sqlite3 * pDB,
int maxRetryAttempts,
int minRetrySleep,
int maxRetrySleep
);
Creates the SQLiteStatementImpl.
Destroys the SQLiteStatementImpl.
void bindImpl();
Binds parameters
See also: Poco::Data::StatementImpl::bindImpl()
AbstractBinder & binder();
Returns the concrete binder used by the statement.
See also: Poco::Data::StatementImpl::binder()
bool canBind() const;
Returns true if a valid statement is set and we can bind.
See also: Poco::Data::StatementImpl::canBind()
Poco::UInt32 columnsReturned() const;
Returns number of columns returned by query.
void compileImpl();
Compiles the statement, doesn't bind yet, retries if the database is locked.
See also: Poco::Data::StatementImpl::compileImpl()
void compileImplImpl();
Compiles the statement, doesn't bind yet
AbstractExtractor & extractor();
Returns the concrete extractor used by the statement.
See also: Poco::Data::StatementImpl::extractor()
bool hasNext();
Returns true if a call to next() will return data.
See also: Poco::Data::StatementImpl::hasNext()
const MetaColumn & metaColumn(
Poco::UInt32 pos
) const;
Returns column meta data.
See also: Poco::Data::StatementImpl::metaColumn()
void next();
Retrieves the next row from the resultset. Will throw, if the resultset is empty.
See also: Poco::Data::StatementImpl::next()