Result Set
BangDB returns set of data for query using Result Set. Result Set allows iteration over keys and values.
To create ResultSet object
ResultSet();
To set ResultSet value
ResultSet(long rs);
To check data status
bool moreDataToCome();
To count the events
int count();
Checking for beginning
void begin();
To check for next event
bool hasNext();
To move to next event
void moveNext();
To get next key
FDT *getNextKey();
User should not free the returned FDT* here, it gets cleared with ResultSet object itself.
To get next value
FDT *getNextVal();
User should not free the returned FDT* here, it gets cleared with ResultSet object itself.
To get next stream key
char *getNextKeyStr();
User should not free the returned char* here, it gets cleared with ResultSet object itself.
To get length of next stream key
int getNextKeyLen();
To get next stream val
char *getNextValStr();
User should not free the returned char* here, it gets cleared with ResultSet object itself.
To get next stream val length
int getNextValLen();
To get size of next long key
long getNextKeyLong();
To get size of next long val
long getNextValLong();
To check if key is string type
bool isKeyString();
To check if the value is string type
bool isValString();
To delete ResultSet object
virtual ~ResultSet();