sqlrelay.doc.h
// Copyright (c) 2015 David Muse
// See the file COPYING for more information.
class SQLRConnection {
public:
SQLRConnection(var server, var port,
var socket,
var user, var password,
var retrytime, var tries);
function setConnectTimeout(var timeoutsec, var timeoutusec);
function setAuthenticationTimeout(var timeoutsec,
var timeoutusec);
function setResponseTimeout(var timeoutsec, var timeoutusec);
void enableKerberos(var service, var mech, var flags);
void enableTls(var version,
var cert, var password, var ciphers,
var validate, var ca, var depth);
void disableEncryption();
function endSession();
var suspendSession();
var getConnectionPort();
var getConnectionSocket();
var resumeSession(var port, var socket);
var ping();
var identify();
var dbVersion();
var dbHostName();
var dbIpAddress();
var serverVersion();
var clientVersion();
var bindFormat();
var selectDatabase(var database);
var getCurrentDatabase();
var getLastInsertId();
var autoCommitOn();
var autoCommitOff();
var begin();
var commit();
var rollback();
var errorMessage();
var errorNumber();
function debugOn();
function debugOff();
var getDebug();
function setDebugFile(var filename);
function setClientInfo(var clientinfo);
var getClientInfo();
};
class SQLRCursor {
public:
SQLRCursor(var sqlrc);
function setResultSetBufferSize(var rows);
var getResultSetBufferSize();
function dontGetColumnInfo();
function getColumnInfo();
function mixedCaseColumnNames();
function upperCaseColumnNames();
function lowerCaseColumnNames();
function cacheToFile(var filename);
function setCacheTtl(var ttl);
var getCacheFileName();
function cacheOff();
var getDatabaseList(var wild);
var getTableList(var wild);
var getColumnList(var table, var wild);
var sendQuery(var query);
var sendQuery(var query, var length);
var sendFileQuery(var path, var filename);
function prepareQuery(var query);
function prepareQuery(var query, var length);
var prepareFileQuery(var path,
var filename);
function substitution(var variable, var value);
function substitution(var variable, var value);
function substitution(var variable, var value,
var precision,
var scale);
function substitutions(var variables,
var values);
function substitutions(var variables,
var values);
function substitutions(var variables,
var values,
var precisions,
var scales);
function inputBind(var variable, var value);
function inputBind(var variable, var value,
var valuelength);
function inputBind(var variable, var value);
function inputBind(var variable, var value,
var precision,
var scale);
function inputBind(var variable,
var year, var month, var day,
var hour, var minute, var second,
var microsecond, var tz);
function inputBindBlob(var variable,
var value,
var size);
function inputBindClob(var variable,
var value,
var size);
function inputBinds(var variables, var values);
function inputBinds(var variables,
const var values);
function inputBinds(var variables,
const var values,
const var precisions,
const var scales);
function defineOutputBindString(var variable,
var bufferlength);
function defineOutputBindInteger(var variable);
function defineOutputBindDouble(var variable);
function defineOutputBindDate(var variable);
function defineOutputBindBlob(var variable);
function defineOutputBindClob(var variable);
function defineOutputBindCursor(var variable);
function clearBinds();
var countBindVariables() const;
function validateBinds();
var validBind(var variable);
var executeQuery();
var fetchFromBindCursor();
var getOutputBindString(var variable);
var getOutputBindInteger(var variable);
var getOutputBindDouble(var variable);
var getOutputBindDate(var variable,
var year,
var month,
var day,
var hour,
var minute,
var second,
var microsecond,
var tz);
var getOutputBindBlob(var variable);
var getOutputBindClob(var variable);
var getOutputBindLength(var variable);
var getOutputBindCursor(var variable);
var openCachedResultSet(var filename);
var colCount();
var rowCount();
var totalRows();
var affectedRows();
var firstRowIndex();
var endOfResultSet();
var errorMessage();
var errorNumber();
function getNullsAsEmptyStrings();
function getNullsAsNulls();
var getField(var row, var col);
var getField(var row, var col);
var getFieldAsInteger(var row, var col);
var getFieldAsInteger(var row, var col);
var getFieldAsDouble(var row, var col);
var getFieldAsDouble(var row, var col);
var getFieldLength(var row, var col);
var getFieldLength(var row, var col);
var getRow(var row);
var getRowLengths(var row);
var getColumnNames();
var getColumnName(var col);
var getColumnType(var col);
var getColumnType(var col);
var getColumnLength(var col);
var getColumnLength(var col);
var getColumnPrecision(var col);
var getColumnPrecision(var col);
var getColumnScale(var col);
var getColumnScale(var col);
var getColumnIsNullable(var col);
var getColumnIsNullable(var col);
var getColumnIsPrimaryKey(var col);
var getColumnIsPrimaryKey(var col);
var getColumnIsUnique(var col);
var getColumnIsUnique(var col);
var getColumnIsPartOfKey(var col);
var getColumnIsPartOfKey(var col);
var getColumnIsUnsigned(var col);
var getColumnIsUnsigned(var col);
var getColumnIsZeroFilled(var col);
var getColumnIsZeroFilled(var col);
var getColumnIsBinary(var col);
var getColumnIsBinary(var col);
var getColumnIsAutoIncrement(var col);
var getColumnIsAutoIncrement(var col);
var getLongest(var col);
var getLongest(var col);
function suspendResultSet();
var getResultSetId();
var resumeResultSet(var id);
var resumeCachedResultSet(var id,
var filename);
function closeResultSet();
};
SQLRCursor::getLongest
var getLongest(var col)
SQLRCursor::closeResultSet
function closeResultSet()
SQLRConnection::autoCommitOff
var autoCommitOff()
SQLRConnection::dbIpAddress
var dbIpAddress()
SQLRCursor::errorMessage
var errorMessage()
SQLRCursor::getNullsAsNulls
function getNullsAsNulls()
SQLRConnection::getClientInfo
var getClientInfo()
SQLRCursor::getTableList
var getTableList(var wild)
SQLRCursor::defineOutputBindDouble
function defineOutputBindDouble(var variable)
SQLRConnection::getConnectionSocket
var getConnectionSocket()
SQLRCursor::getField
var getField(var row, var col)
SQLRConnection::begin
var begin()
SQLRConnection::setClientInfo
function setClientInfo(var clientinfo)
SQLRConnection::setConnectTimeout
function setConnectTimeout(var timeoutsec, var timeoutusec)
SQLRCursor::getOutputBindDate
var getOutputBindDate(var variable, var year, var month, var day, var hour, var minute, var second, var microsecond, var tz)
SQLRCursor::getRow
var getRow(var row)
SQLRConnection::getLastInsertId
var getLastInsertId()
SQLRCursor::SQLRCursor
SQLRCursor(var sqlrc)
SQLRConnection::commit
var commit()
SQLRConnection::getCurrentDatabase
var getCurrentDatabase()
SQLRCursor::resumeCachedResultSet
var resumeCachedResultSet(var id, var filename)
SQLRCursor::prepareQuery
function prepareQuery(var query)
SQLRCursor::clearBinds
function clearBinds()
SQLRConnection::errorMessage
var errorMessage()
SQLRConnection::dbHostName
var dbHostName()
SQLRCursor::errorNumber
var errorNumber()
SQLRConnection::rollback
var rollback()
SQLRConnection::autoCommitOn
var autoCommitOn()
SQLRConnection::ping
var ping()
SQLRCursor::defineOutputBindClob
function defineOutputBindClob(var variable)
SQLRCursor::cacheOff
function cacheOff()
SQLRCursor::openCachedResultSet
var openCachedResultSet(var filename)
SQLRConnection::suspendSession
var suspendSession()
SQLRCursor::resumeResultSet
var resumeResultSet(var id)
SQLRCursor::getColumnInfo
function getColumnInfo()
SQLRConnection::serverVersion
var serverVersion()
SQLRCursor::getColumnType
var getColumnType(var col)
SQLRConnection::clientVersion
var clientVersion()
SQLRConnection::dbVersion
var dbVersion()
SQLRConnection::disableEncryption
void disableEncryption()
SQLRCursor::getColumnLength
var getColumnLength(var col)
SQLRCursor::getColumnIsBinary
var getColumnIsBinary(var col)
SQLRCursor::getFieldAsDouble
var getFieldAsDouble(var row, var col)
SQLRCursor::rowCount
var rowCount()
SQLRConnection::identify
var identify()
SQLRCursor::defineOutputBindDate
function defineOutputBindDate(var variable)
SQLRCursor::executeQuery
var executeQuery()
SQLRCursor::lowerCaseColumnNames
function lowerCaseColumnNames()
SQLRCursor::colCount
var colCount()
SQLRConnection::selectDatabase
var selectDatabase(var database)
SQLRConnection::getDebug
var getDebug()
SQLRCursor::inputBindClob
function inputBindClob(var variable, var value, var size)
SQLRCursor::cacheToFile
function cacheToFile(var filename)
SQLRCursor::getOutputBindString
var getOutputBindString(var variable)
SQLRCursor::getOutputBindDouble
var getOutputBindDouble(var variable)
SQLRCursor::getColumnIsAutoIncrement
var getColumnIsAutoIncrement(var col)
SQLRCursor::substitution
function substitution(var variable, var value)
SQLRCursor::getColumnName
var getColumnName(var col)
SQLRConnection::errorNumber
var errorNumber()
SQLRCursor::defineOutputBindString
function defineOutputBindString(var variable, var bufferlength)
SQLRCursor::sendFileQuery
var sendFileQuery(var path, var filename)
SQLRCursor::inputBind
function inputBind(var variable, var value)
SQLRConnection
Definition: sqlrelay.doc.h:4
SQLRCursor::suspendResultSet
function suspendResultSet()
SQLRConnection::setDebugFile
function setDebugFile(var filename)
SQLRCursor::affectedRows
var affectedRows()
SQLRCursor::inputBinds
function inputBinds(var variables, var values)
SQLRConnection::debugOff
function debugOff()
SQLRCursor::getOutputBindClob
var getOutputBindClob(var variable)
SQLRCursor::upperCaseColumnNames
function upperCaseColumnNames()
SQLRCursor::getColumnIsPrimaryKey
var getColumnIsPrimaryKey(var col)
SQLRCursor::defineOutputBindBlob
function defineOutputBindBlob(var variable)
SQLRCursor::validateBinds
function validateBinds()
SQLRConnection::SQLRConnection
SQLRConnection(var server, var port, var socket, var user, var password, var retrytime, var tries)
SQLRCursor::substitutions
function substitutions(var variables, var values)
SQLRCursor::getColumnNames
var getColumnNames()
SQLRCursor::getColumnIsZeroFilled
var getColumnIsZeroFilled(var col)
SQLRCursor::inputBindBlob
function inputBindBlob(var variable, var value, var size)
SQLRCursor::getNullsAsEmptyStrings
function getNullsAsEmptyStrings()
SQLRCursor::firstRowIndex
var firstRowIndex()
SQLRCursor::getOutputBindBlob
var getOutputBindBlob(var variable)
SQLRCursor::getOutputBindCursor
var getOutputBindCursor(var variable)
SQLRCursor::prepareFileQuery
var prepareFileQuery(var path, var filename)
SQLRConnection::endSession
function endSession()
SQLRCursor
Definition: sqlrelay.doc.h:314
SQLRCursor::getColumnIsNullable
var getColumnIsNullable(var col)
SQLRCursor::setResultSetBufferSize
function setResultSetBufferSize(var rows)
SQLRCursor::getColumnIsPartOfKey
var getColumnIsPartOfKey(var col)
SQLRConnection::setResponseTimeout
function setResponseTimeout(var timeoutsec, var timeoutusec)
SQLRCursor::dontGetColumnInfo
function dontGetColumnInfo()
SQLRCursor::getResultSetBufferSize
var getResultSetBufferSize()
SQLRCursor::getRowLengths
var getRowLengths(var row)
SQLRCursor::validBind
var validBind(var variable)
SQLRCursor::fetchFromBindCursor
var fetchFromBindCursor()
SQLRCursor::getColumnIsUnique
var getColumnIsUnique(var col)
SQLRCursor::defineOutputBindInteger
function defineOutputBindInteger(var variable)
SQLRConnection::resumeSession
var resumeSession(var port, var socket)
SQLRCursor::countBindVariables
var countBindVariables() const
SQLRConnection::setAuthenticationTimeout
function setAuthenticationTimeout(var timeoutsec, var timeoutusec)
SQLRCursor::mixedCaseColumnNames
function mixedCaseColumnNames()
SQLRCursor::getFieldAsInteger
var getFieldAsInteger(var row, var col)
SQLRConnection::getConnectionPort
var getConnectionPort()
SQLRCursor::getOutputBindInteger
var getOutputBindInteger(var variable)
SQLRCursor::getColumnScale
var getColumnScale(var col)
SQLRConnection::enableTls
void enableTls(var version, var cert, var password, var ciphers, var validate, var ca, var depth)
SQLRCursor::endOfResultSet
var endOfResultSet()
SQLRConnection::enableKerberos
void enableKerberos(var service, var mech, var flags)
SQLRCursor::getOutputBindLength
var getOutputBindLength(var variable)
SQLRCursor::sendQuery
var sendQuery(var query)
SQLRConnection::bindFormat
var bindFormat()
SQLRCursor::getCacheFileName
var getCacheFileName()
SQLRConnection::debugOn
function debugOn()
SQLRCursor::getFieldLength
var getFieldLength(var row, var col)
SQLRCursor::getColumnPrecision
var getColumnPrecision(var col)
SQLRCursor::getDatabaseList
var getDatabaseList(var wild)
SQLRCursor::getColumnIsUnsigned
var getColumnIsUnsigned(var col)
SQLRCursor::getResultSetId
var getResultSetId()
SQLRCursor::getColumnList
var getColumnList(var table, var wild)
SQLRCursor::totalRows
var totalRows()
SQLRCursor::defineOutputBindCursor
function defineOutputBindCursor(var variable)
SQLRCursor::setCacheTtl
function setCacheTtl(var ttl)