Row key information. More...
#include <QueryCache.h>
Public Member Functions | |
| RowKey (const char *t, const char *r) | |
| Constructor. More... | |
| bool | operator== (const RowKey &other) const |
| Equality operator. More... | |
Public Attributes | |
| const char * | tablename |
| Table name More... | |
| const char * | row |
| Row. More... | |
| uint32_t | hash |
| Hash code computed from tablename and row. More... | |
Row key information.
Definition at line 67 of file QueryCache.h.
|
inline |
Constructor.
Initializes tablename to t and row to r. This member function assumes that t and r are pointers to memory that will be valid for the lifetime of the cache entry. Also sets hash to the fletcher32 checksum of the tablename and row for invalidation purposes.
| t | Table name |
| r | Row |
Definition at line 77 of file QueryCache.h.
|
inline |
Equality operator.
| other | Other key to compare |
Definition at line 83 of file QueryCache.h.
| uint32_t Hypertable::QueryCache::RowKey::hash |
Hash code computed from tablename and row.
Definition at line 91 of file QueryCache.h.
| const char* Hypertable::QueryCache::RowKey::row |
Row.
Definition at line 89 of file QueryCache.h.
| const char* Hypertable::QueryCache::RowKey::tablename |
Table name
Definition at line 87 of file QueryCache.h.
1.8.8