43 const uint8_t *ptr =
m_event->payload;
44 size_t remain =
m_event->payload_len;
46 params.
decode(&ptr, &remain);
Request parameters for compact function.
const TableIdentifier & table()
Gets table identifier.
Declarations for RangeServer.
const char * row()
Gets row identifying range to be compacted.
int32_t range_types()
Gets range types to be compacted.
virtual void run()
Carries out the request.
Declarations for Compact request parameters.
Logging routines and macros.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
Apps::RangeServer * m_range_server
virtual void decode(const uint8_t **bufp, size_t *remainp)
Reads serialized representation of object from a buffer.
This class is used to generate and deliver standard responses back to a client.
void compact(ResponseCallback *, const TableIdentifier &, const char *row, int32_t flags)
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
This is a generic exception class for Hypertable.
EventPtr m_event
MESSAGE Event from which handler was initialized.
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
int code() const
Returns the error code.