21#include "vtkIOODBCModule.h"  
   24VTK_ABI_NAMESPACE_BEGIN
 
   29class vtkODBCQueryInternals;
 
   98  bool SetQuery(
const char* queryString) 
override;
 
  134  bool BindParameter(
int index, 
const char* stringValue, 
size_t length) 
override;
 
  151  vtkSetStringMacro(LastErrorText);
 
  152  vtkSetStringMacro(QueryText);
 
  153  vtkGetStringMacro(QueryText);
 
  161  void ClearCurrentRow();
 
  162  bool CacheCurrentRow();
 
  164  bool CacheTimeColumn(
int column);
 
  165  bool CacheIntervalColumn(
int column);
 
  166  bool CacheCharColumn(
int column);
 
  167  bool CacheLongLongColumn(
int column);
 
  168  bool CacheBinaryColumn(
int column);
 
  169  bool CacheBooleanColumn(
int column);
 
  170  bool CacheStringColumn(
int column);
 
  171  bool CacheWideStringColumn(
int column);
 
  172  bool CacheDecimalColumn(
int column);
 
  173  bool CacheNumericColumn(
int column);
 
  174  bool CacheIntColumn(
int column);
 
  175  bool CacheFloatColumn(
int column);
 
  176  bool CacheDoubleColumn(
int column);
 
  178  vtkODBCQueryInternals* Internals;
 
a simple class to control print indentation
 
maintain an ODBC connection to a SQL database
 
Simple class to hide ODBC structures.
 
vtkSQLQuery implementation for ODBC connections to databases
 
bool BindParameter(int index, int value) override
 
bool BindParameter(int index, unsigned short value) override
 
bool HasError() override
Return true if there is an error on the current query.
 
bool BindParameter(int index, float value) override
 
bool BindParameter(int index, double value) override
 
bool BindParameter(int index, signed char value) override
 
bool BindParameter(int index, unsigned long value) override
 
static vtkODBCQuery * New()
 
int GetFieldType(int i) override
Return the type of the field, using the constants defined in vtkType.h.
 
bool BindParameter(int index, long long value) override
 
bool BeginTransaction() override
Begin, commit, or roll back a transaction.
 
bool BindParameter(int index, unsigned long long value) override
 
bool CommitTransaction() override
Begin, commit, or roll back a transaction.
 
bool BindParameter(int index, const char *stringValue) override
Bind a string value – string must be null-terminated.
 
bool BindParameter(int index, signed short value) override
 
bool BindParameter(int index, unsigned char value) override
Bind a parameter to a placeholder in a query.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
bool Execute() override
Execute the query.
 
bool ClearParameterBindings() override
Bind a blob value.
 
bool BindParameter(int index, unsigned int value) override
 
bool SetQuery(const char *queryString) override
Set the query string to be used.
 
const char * GetQuery() override
Set the query string to be used.
 
bool BindParameter(int index, const vtkStdString &string) override
Bind a string value by specifying an array and a size.
 
bool RollbackTransaction() override
Begin, commit, or roll back a transaction.
 
const char * GetLastErrorText() override
Get the last error text from the query.
 
bool BindParameter(int index, const char *stringValue, size_t length) override
Bind a string value by specifying an array and a size.
 
vtkVariant DataValue(vtkIdType c) override
Return data in current row, field c.
 
bool NextRow() override
Advance row, return false if past end.
 
int GetNumberOfFields() override
The number of fields in the query result.
 
bool BindParameter(int index, const void *data, size_t length) override
Bind a blob value.
 
const char * GetFieldName(int i) override
Return the name of the specified query field.
 
bool BindParameter(int index, signed long value) override
 
executes an sql query and retrieves results
 
virtual bool BindParameter(int index, unsigned char value)
Bind a parameter to a placeholder in a query.
 
Wrapper around std::string to keep symbols short.
 
An array holding vtkVariants.
 
A type representing the union of many types.