29 #ifndef HYPERTABLE_ACCESSGROUPHINTSFILE_H
30 #define HYPERTABLE_ACCESSGROUPHINTSFILE_H
120 std::vector<AccessGroup::Hints> &
get() {
127 void set(
const std::vector<AccessGroup::Hints> &hints) {
150 void parse_header(
const char *input,
const char **ag_base);
172 #endif // HYPERTABLE_ACCESSGROUPHINTSFILE_H
void change_end_row(const String &end_row)
Changes the end row.
Declarations for AccessGroup.
Reads and writes access group "hints" file.
String m_start_row
Start row.
void parse_header(const char *input, const char **ag_base)
Parses header portion of hints file.
AccessGroupHintsFile(const String &table, const String &start_row, const String &end_row)
Constructor.
std::string String
A String is simply a typedef to std::string.
void change_start_row(const String &start_row)
Changes the start row.
void read()
Reads hints file.
void set(const std::vector< AccessGroup::Hints > &hints)
Replaces contents of internal hints vector.
bool exists()
Checks if hints file exists.
std::vector< AccessGroup::Hints > m_hints
Vector of access group hints.
void write(String location)
Write hints file.
String m_table_id
Table ID string
String m_range_dir
Range subdirectory (md5 of end row)