NCBI C++ ToolKit
|
Search Toolkit Book for IResultSet
#include <dbapi/dbapi.hpp>
Public Member Functions | |
virtual | ~IResultSet () |
Destructor. More... | |
virtual EDB_ResType | GetResultType ()=0 |
Get result type. More... | |
virtual bool | Next ()=0 |
Get next row. More... | |
virtual const CVariant & | GetVariant (const CDBParamVariant ¶m)=0 |
Retrieve a CVariant class describing the data stored in a given column. More... | |
virtual void | DisableBind (bool b)=0 |
Disables column binding. More... | |
virtual void | BindBlobToVariant (bool b)=0 |
Bind blob to variant. More... | |
virtual size_t | Read (void *buf, size_t size)=0 |
Read unformatted data. More... | |
virtual bool | WasNull ()=0 |
Determine if last column was NULL. More... | |
virtual int | GetColumnNo ()=0 |
Get column number, currently available for Read() More... | |
virtual unsigned int | GetTotalColumns ()=0 |
Get total columns. More... | |
virtual CNcbiIstream & | GetBlobIStream (size_t buf_size=0)=0 |
Get Blob input stream. More... | |
virtual CNcbiOstream & | GetBlobOStream (size_t blob_size, TBlobOStreamFlags flags=0, size_t buf_size=0)=0 |
Get Blob output stream. More... | |
virtual CNcbiOstream & | GetBlobOStream (size_t blob_size, EAllowLog log_it, size_t buf_size=0) |
virtual CNcbiOstream & | GetBlobOStream (IConnection *conn, size_t blob_size, TBlobOStreamFlags flags=0, size_t buf_size=0)=0 |
Get Blob output stream with explicit additional connection. More... | |
virtual CNcbiOstream & | GetBlobOStream (IConnection *conn, size_t blob_size, EAllowLog log_it, size_t buf_size=0) |
virtual IReader * | GetBlobReader ()=0 |
Get a Blob Reader. More... | |
virtual void | Close ()=0 |
Close resultset. More... | |
virtual const IResultSetMetaData * | GetMetaData (EOwnership ownership=eNoOwnership)=0 |
Get Metadata. More... | |