45 const uint8_t *ptr =
m_event->payload;
46 size_t remain =
m_event->payload_len;
49 params.
decode(&ptr, &remain);
51 mods.
base = (uint8_t *)ptr;
A memory buffer of static size.
uint64_t cluster_id()
Gets cluster ID.
Apps::RangeServer * m_range_server
Declarations for RangeServer.
Declarations for Update request parameters.
Request parameters for update function.
Logging routines and macros.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
virtual void decode(const uint8_t **bufp, size_t *remainp)
Reads serialized representation of object from a buffer.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
const TableIdentifier & table()
Gets table identifier.
This is a generic exception class for Hypertable.
EventPtr m_event
MESSAGE Event from which handler was initialized.
virtual void run()
Carries out the request.
int32_t flags()
Gets flags.
void update(Response::Callback::Update *cb, uint64_t cluster_id, const TableIdentifier &table, uint32_t count, StaticBuffer &buffer, uint32_t flags)
Inserts data into a table.
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
int32_t count()
Gets update count.
int code() const
Returns the error code.