45 const uint8_t *ptr =
m_event->payload;
46 size_t remain =
m_event->payload_len;
50 const uint8_t *base = ptr;
51 params.
decode(&ptr, &remain);
54 md5_csum((
unsigned char *)base, ptr-base,
55 reinterpret_cast<unsigned char *>(key.
digest));
const RangeSpec & range_spec()
Gets range specification.
Declarations for RangeServer.
Apps::RangeServer * m_range_server
const ScanSpec & scan_spec()
Gets scan specification.
Request parameters for create scanner function.
void md5_csum(const unsigned char *input, int ilen, unsigned char output[16])
Convenience function to calculate the MD5 sum of an input buffer.
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.
Declarations for CreateScanner request parameters.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
const TableIdentifier & table()
Gets table identifier.
virtual void run()
Carries out the request.
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.
void create_scanner(Response::Callback::CreateScanner *, const TableIdentifier &, const RangeSpec &, const ScanSpec &, QueryCache::Key *)
uint64_t digest[2]
Hash digest.
int code() const
Returns the error code.