7#include <sqlrelay/private/sqlrclientincludes.h>
30 const char *user,
const char *password,
31 int32_t retrytime, int32_t tries);
58 int32_t *timeoutusec);
63 int32_t *timeoutusec);
200 const char *password,
202 const char *validate,
387 #include <sqlrelay/private/sqlrconnection.h>
513 const char *filename);
530 const char **values);
534 const int64_t *values);
538 const double *values,
539 const uint32_t *precisions,
540 const uint32_t *scales);
545 void inputBind(
const char *variable,
const char *value);
549 uint32_t valuelength);
586 int16_t year, int16_t month, int16_t day,
587 int16_t hour, int16_t minute, int16_t second,
588 int32_t microsecond,
const char *tz,
602 void inputBinds(
const char **variables,
const char **values);
606 const int64_t *values);
610 const double *values,
611 const uint32_t *precisions,
612 const uint32_t *scales);
620 uint32_t bufferlength);
695 int32_t *microsecond,
794 const char *
getField(uint64_t row,
const char *col);
820 const char *
const *
getRow(uint64_t row);
978 const char *filename);
993 #include <sqlrelay/private/sqlrcursor.h>
Definition sqlrclient.h:9
const char * dbIpAddress()
void getConnectTimeout(int32_t *timeoutsec, int32_t *timeoutusec)
bool getBindVariableDelimiterDollarSignSupported()
const char * bindFormat()
bool getBindVariableDelimiterColonSupported()
void enableKerberos(const char *service, const char *mech, const char *flags)
uint64_t getLastInsertId()
const char * getCurrentDatabase()
const char * serverVersion()
void debugPrintFunction(int(*printfunction)(const char *,...))
void setDebugFile(const char *filename)
const char * getClientInfo()
bool selectDatabase(const char *database)
bool getBindVariableDelimiterQuestionMarkSupported()
void enableTls(const char *version, const char *cert, const char *password, const char *ciphers, const char *validate, const char *ca, uint16_t depth)
sqlrconnection(const char *server, uint16_t port, const char *socket, const char *user, const char *password, int32_t retrytime, int32_t tries)
void setResponseTimeout(int32_t timeoutsec, int32_t timeoutusec)
void getResponseTimeout(int32_t *timeoutsec, int32_t *timeoutusec)
void setClientInfo(const char *clientinfo)
const char * errorMessage()
bool resumeSession(uint16_t port, const char *socket)
const char * nextvalFormat()
uint16_t getConnectionPort()
void setConnectTimeout(int32_t timeoutsec, int32_t timeoutusec)
const char * dbHostName()
bool getBindVariableDelimiterAtSignSupported()
const char * getConnectionSocket()
const char * clientVersion()
void setBindVariableDelimiters(const char *delimiters)
Definition sqlrclient.h:391
bool fetchFromBindCursor()
const char * getColumnName(uint32_t col)
double getOutputBindDouble(const char *variable)
void upperCaseColumnNames()
const char * getCacheFileName()
void defineOutputBindClob(const char *variable)
void inputBind(const char *variable, const char *value)
const char * getField(uint64_t row, const char *col)
uint32_t getColumnPrecision(const char *col)
void substitution(const char *variable, const char *value)
void defineOutputBindDouble(const char *variable)
uint16_t countBindVariables()
void lowerCaseColumnNames()
uint32_t getColumnLength(const char *col)
uint32_t getColumnScale(const char *col)
void defineOutputBindBlob(const char *variable)
const char * getOutputBindString(const char *variable)
void defineOutputBindDate(const char *variable)
double getFieldAsDouble(uint64_t row, const char *col)
const char * errorMessage()
void substitutions(const char **variables, const double *values, const uint32_t *precisions, const uint32_t *scales)
void defineOutputBindCursor(const char *variable)
const char * getField(uint64_t row, uint32_t col)
const char * getOutputBindClob(const char *variable)
int64_t getFieldAsInteger(uint64_t row, uint32_t col)
void defineOutputBindString(const char *variable, uint32_t bufferlength)
uint32_t getFieldLength(uint64_t row, const char *col)
uint32_t getColumnLength(uint32_t col)
void inputBind(const char *variable, int64_t value)
const char *const * getRow(uint64_t row)
uint32_t getLongest(uint32_t col)
bool getColumnIsPartOfKey(const char *col)
void inputBindBlob(const char *variable, const char *value, uint32_t size)
void setCacheTtl(uint32_t ttl)
bool getColumnIsUnique(const char *col)
sqlrcursor * getOutputBindCursor(const char *variable)
bool sendQuery(const char *query)
uint64_t getResultSetBufferSize()
bool getColumnList(const char *table, const char *wild)
bool getColumnIsPrimaryKey(uint32_t col)
const char * getOutputBindBlob(const char *variable)
const char * getColumnType(uint32_t col)
double getFieldAsDouble(uint64_t row, uint32_t col)
bool getColumnIsZeroFilled(const char *col)
bool getTableList(const char *wild)
void inputBindClob(const char *variable, const char *value, uint32_t size)
bool getDatabaseList(const char *wild)
void substitution(const char *variable, double value, uint32_t precision, uint32_t scale)
bool resumeCachedResultSet(uint16_t id, const char *filename)
bool getColumnIsPrimaryKey(const char *col)
bool getColumnIsBinary(uint32_t col)
bool getColumnIsAutoIncrement(const char *col)
uint32_t getColumnPrecision(uint32_t col)
uint32_t getLongest(const char *col)
void substitution(const char *variable, int64_t value)
bool getColumnIsBinary(const char *col)
void prepareQuery(const char *query, uint32_t length)
void inputBinds(const char **variables, const char **values)
uint32_t * getRowLengths(uint64_t row)
void inputBind(const char *variable, int16_t year, int16_t month, int16_t day, int16_t hour, int16_t minute, int16_t second, int32_t microsecond, const char *tz, bool isnegative)
uint16_t getResultSetId()
const char *const * getColumnNames()
void getNullsAsEmptyStrings()
void mixedCaseColumnNames()
bool getColumnIsZeroFilled(uint32_t col)
void defineOutputBindInteger(const char *variable)
bool openCachedResultSet(const char *filename)
bool sendQuery(const char *query, uint32_t length)
bool getColumnIsNullable(uint32_t col)
bool sendFileQuery(const char *path, const char *filename)
void inputBind(const char *variable, double value, uint32_t precision, uint32_t scale)
void inputBind(const char *variable, const char *value, uint32_t valuelength)
void substitutions(const char **variables, const int64_t *values)
void setResultSetBufferSize(uint64_t rows)
void prepareQuery(const char *query)
const char * getColumnType(const char *col)
uint32_t getOutputBindLength(const char *variable)
bool getColumnIsNullable(const char *col)
bool getColumnIsPartOfKey(uint32_t col)
bool resumeResultSet(uint16_t id)
void inputBinds(const char **variables, const double *values, const uint32_t *precisions, const uint32_t *scales)
bool getColumnIsUnique(uint32_t col)
void inputBinds(const char **variables, const int64_t *values)
bool prepareFileQuery(const char *path, const char *filename)
void cacheToFile(const char *filename)
sqlrcursor(sqlrconnection *sqlrc)
bool getOutputBindDate(const char *variable, int16_t *year, int16_t *month, int16_t *day, int16_t *hour, int16_t *minute, int16_t *second, int32_t *microsecond, const char **tz, bool *isnegative)
bool getColumnIsUnsigned(uint32_t col)
int64_t getFieldAsInteger(uint64_t row, const char *col)
uint32_t getFieldLength(uint64_t row, uint32_t col)
void substitutions(const char **variables, const char **values)
int64_t getOutputBindInteger(const char *variable)
bool validBind(const char *variable)
uint32_t getColumnScale(uint32_t col)
bool getColumnIsAutoIncrement(uint32_t col)
bool getColumnIsUnsigned(const char *col)