The wrapper used by the GPUdb server for all endpoint responses. More…
#include <gpudb/protocol/gpudb_wrapper.h>
Public Member Functions | |
| RawGpudbResponse () | |
| Constructs a RawGpudbResponse object with default parameters. | |
Public Attributes | |
| std::string | status |
| Indicates the success (“OK”) or failure (“ERROR”) of the request. | |
| std::string | message |
| Empty on success; otherwise the error message describing the failure. | |
| std::string | dataType |
| The fully-qualified name of the response’s data type, or “none” if there is no data payload. | |
| std::vector< uint8_t > | data |
| The Avro binary-encoded response payload; populated when binary encoding was requested. | |
| std::string | dataStr |
| The JSON-encoded response payload; populated when JSON encoding was requested. | |
Detailed Description
The wrapper used by the GPUdb server for all endpoint responses.
Definition at line 14 of file gpudb_wrapper.h.
Constructor & Destructor Documentation
◆ RawGpudbResponse()
| inline |
Constructs a RawGpudbResponse object with default parameters.
Definition at line 19 of file gpudb_wrapper.h.
Member Data Documentation
◆ data
| std::vector<uint8_t> gpudb::RawGpudbResponse::data |
The Avro binary-encoded response payload; populated when binary encoding was requested.
Definition at line 49 of file gpudb_wrapper.h.
◆ dataStr
| std::string gpudb::RawGpudbResponse::dataStr |
The JSON-encoded response payload; populated when JSON encoding was requested.
Definition at line 55 of file gpudb_wrapper.h.
◆ dataType
| std::string gpudb::RawGpudbResponse::dataType |
The fully-qualified name of the response’s data type, or “none” if there is no data payload.
Definition at line 43 of file gpudb_wrapper.h.
◆ message
| std::string gpudb::RawGpudbResponse::message |
Empty on success; otherwise the error message describing the failure.
Definition at line 37 of file gpudb_wrapper.h.
◆ status
| std::string gpudb::RawGpudbResponse::status |
Indicates the success (“OK”) or failure (“ERROR”) of the request.
Definition at line 31 of file gpudb_wrapper.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/gpudb_wrapper.h