AbstractConstructor for OINODataSet.
internal database specific data type (constructor will throw if invalid)
error messages from SQL-query
ReadonlymessagesError messages
HTTP status code
HTTP status message
Wheter request was successfully executed
Add debug message. Returns self reference for chaining.
HTTP status message
operation where debug occured
Add info message. Returns self reference for chaining.
HTTP status message
operation where info occured
Add warning message. Returns self reference for chaining.
HTTP status message
operation where warning occured
Copy given messages to HTTP headers.
HTTP headers
wether error messages should be copied (default true)
wether warning messages should be copied (default false)
wether info messages should be copied (default false)
wether debug messages should be copied (default false)
AbstractgetGets all rows of data.
NOTE: This is left abstract instead of just using getRow() so that DB implementations can hopefully optimize not duplicating data *
Finds the first error message that occured
Finds the last error message that occured
AbstractgetGets current row of data.
Checks if the messages contain errors.
AbstractisIs data set empty.
AbstractisIs there no more content, i.e. either dataset is empty or we have moved beyond last line
AbstractnextAttempts to moves dataset to the next row, possibly waiting for more data to become available. Returns !isEof().
Print result for logging.
Set HTTP error status using given code and message. Returns self reference for chaining.
HTTP status code
HTTP status message
operation where error occured
Set HTTP OK status (does not reset messages).
Base class for SQL results that can be asynchronously iterated (but not necessarity rewinded). Idea is to handle database specific mechanisms for returning and formatting conventions in the database specific implementation. Data might be in memory or streamed in chunks and
OINODataSetwill serve it out consistently.