7#include <sqlrelay/private/sqlrimportincludes.h>
49 uint32_t primarykeycolumnindex,
50 const char *primarykeysequence);
157 bool ignorecolumnswithemptynames);
830 virtual bool error(int64_t errornumber,
831 const char *errormessage);
992 #include <sqlrelay/private/sqlrimport.h>
Definition sqlrclient.h:9
Definition sqlrclient.h:391
Definition sqlrimport.h:13
void setCoarseLogLevel(uint8_t coarseloglevel)
void insertStaticValue(const char *columnname, uint32_t columnindex, const char *value)
bool getReformatDateTime()
const char * getMappedColumnName(const char *from)
void clearAreNumericColumns()
void setSqlrConnection(sqlrconnection *sqlrcon)
void setDbType(const char *dbtype)
void setLastCenturyThreshold(uint16_t lastcenturythreshold)
void removeStaticValue(uint32_t columnindex)
void setLogErrors(bool logerrors)
char * getCurrentColumnName()
uint32_t getCurrentColumn()
virtual bool columnStart()
bool getUpperCaseColumnNames()
bool getIgnoreColumnsWithEmptyNames()
void setDateTimeFormat(const char *datetimeformat)
void setReformatDateTime(bool reformatdatetime)
sqlrcursor * getSqlrCursor()
uint32_t getStaticValueCount()
void insertPrimaryKey(const char *primarykeycolumnname, uint32_t primarykeycolumnindex, const char *primarykeysequence)
const char * getPrimaryKeyColumnName()
uint8_t getCoarseLogLevel()
virtual bool beginStart()
const char * getStaticValue(uint32_t index)
void setIgnoreEmptyRows(bool ignoreemptyrows)
void setNoCenturyThreshold(uint16_t nocenturythreshold)
void setCurrentColumn(uint32_t currentcol)
virtual bool columnsEnd()
const char * getDateDelimiters()
uint16_t getLastCenturyThreshold()
bool getIsNumericColumn(uint64_t index)
virtual bool importData()
void mapFieldValue(const char *from, const char *to)
sqlrconnection * getSqlrConnection()
const char * getStaticValueColumnName(uint32_t index)
virtual bool fieldStart()
void setExcludeRow(bool excluderow)
bool getLowerCaseColumnNames()
void clearAreDateTimeColumns()
void setLogger(logger *lg)
const char * getMappedFieldValue(const char *from)
void setYyyyDdMm(bool yyyyddmm)
void setCurrentRow(uint64_t currentrow)
void setIgnoreColumns(bool ignorecolumns)
virtual bool importStart()
const char * getPrimaryKeySequence()
void setLowerCaseColumnNames()
void setLogIndent(uint32_t logindent)
bool getIgnoreEmptyRows()
void setCurrentField(char *currentfield)
virtual bool commitStart()
void setImportedRowCount(uint64_t importedrowcount)
bool getIsDateTimeColumn(uint64_t index)
virtual bool columnsStart()
void setFineLogLevel(uint8_t fineloglevel)
void setCommitCount(uint64_t commitcount)
const char * getObjectName()
void setUpperCaseColumnNames()
void setCurrentColumnName(char *currentcolname)
void setIsDateTimeColumn(uint64_t index, bool datetime)
void setIsNumericColumn(uint64_t index, bool numeric)
uint16_t getNoCenturyThreshold()
const char * getDateTimeFormat()
uint64_t getImportedRowCount()
void setSqlrCursor(sqlrcursor *sqlrcur)
void setMixedCaseColumnNames()
void mapColumnName(const char *from, const char *to)
bool getInsertPrimaryKey()
void setObjectName(const char *objectname)
uint32_t getPrimaryKeyColumnIndex()
virtual bool error(int64_t errornumber, const char *errormessage)
bool getMixedCaseColumnNames()
void setIgnoreColumnsWithEmptyNames(bool ignorecolumnswithemptynames)
uint8_t getFineLogLevel()
void setDateDelimiters(const char *datedelimiters)
uint64_t getCommitCount()