30 #ifndef INFINISQLAPI_H
31 #define INFINISQLAPI_H
34 #include <boost/unordered_map.hpp>
37 #include <msgpack.hpp>
46 #define STATUS_NOTOK 1
48 #define APISTATUS_OK 0
49 #define APISTATUS_NOTOK 1
50 #define APISTATUS_NULLCONSTRAINT 2
51 #define APISTATUS_PENDING 3
52 #define APISTATUS_FIELD 4
53 #define APISTATUS_STATE 5
54 #define APISTATUS_UNIQUECONSTRAINT 6
55 #define APISTATUS_FOUND 7
56 #define APISTATUS_DEADLOCK 8
57 #define APISTATUS_LOCK 9
270 virtual void doit() = 0;
277 virtual void continueFunc1(int64_t entrypoint,
void *statePtr) = 0;
284 virtual void continueFunc2(int64_t entrypoint,
void *statePtr) = 0;
303 virtual void continuePgFunc(int64_t entrypoint,
void *statePtr) = 0;
450 vector<int64_t> *input);
457 vector<uint64_t> *input);
464 vector<bool> *input);
471 vector<long double> *input);
479 vector<char> *input);
486 vector<string> *input);
494 int64_t lower, int64_t upper);
501 uint64_t lower, uint64_t upper);
508 bool lower,
bool upper);
515 long double lower,
long double upper);
522 char lower,
char upper);
529 string *lower,
string *upper);
539 void unlock(
apifPtr re, int64_t recmd,
void *reptr, int64_t rowid,
540 int64_t
tableid, int64_t engineid);
579 int64_t fieldid, int64_t input);
585 int64_t fieldid, uint64_t input);
591 int64_t fieldid,
bool input);
597 int64_t fieldid,
long double input);
603 int64_t fieldid,
char input);
609 int64_t fieldid,
string input);
615 vector<fieldValue_s> *resultFields);
686 apifPtr reentryfunction, int64_t reentrypoint,
699 bool execStatement(
const char *stmtname, vector<std::string> &args,
700 apifPtr reentryfunction, int64_t reentrypoint,
726 std::vector<std::string> &argsRef);