30 namespace Hypertable {
namespace HyperAppHelper {
40 cf_spec=table->schema()->get_column_family(key.
column_family);
43 "Unknown column family");
46 "Column family is not chronological (use TIME_ORDER DESC)");
55 mutator->set(key, guid);
67 if (!scanner->next(c)) {
69 "Inserted GUID was not found");
73 "The inserted cell already exists and is not unique");
ScanSpec & get()
Returns the built ScanSpec object.
std::string String
A String is simply a typedef to std::string.
bool get_option_time_order_desc() const
Gets time order desc option.
Column family specification.
void add_row(const string &str)
Adds a row to be returned in the scan.
std::shared_ptr< TableScanner > TableScannerPtr
Smart pointer to TableScanner.
String generate_guid()
Generates a new GUID.
std::shared_ptr< TableMutator > TableMutatorPtr
Smart pointer to TableMutator.
void set_cell_limit(int32_t n)
Sets the maximum number of cells to return.
void create_cell_unique(const TablePtr &table, const KeySpec &key, String &guid)
Inserts a unique value into a table.
Compatibility Macros for C/C++.
Helper class for building a ScanSpec.
void add_column(const string &str)
Adds a column family to be returned by the scan.
Encapsulates decomposed key and value.
const char * column_family
#define HT_THROW(_code_, _msg_)
std::shared_ptr< Table > TablePtr