0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hypertable::Hql::ParserState Class Reference

#include <HqlParser.h>

Collaboration diagram for Hypertable::Hql::ParserState:
Collaboration graph
[legend]

Public Member Functions

 ParserState ()
 
 ParserState (NamespacePtr &ns)
 
void validate_function (const std::string &s)
 
void execute_all_functions (InsertRecord &rec)
 
void execute_function (std::string &s)
 
void check_and_set_column_option (const std::string &name, const std::string &option)
 
void check_and_set_access_group_option (const std::string &name, const std::string &option)
 
ColumnFamilySpecget_new_column_family (const std::string &name)
 
ColumnFamilySpecget_modified_column_family (const std::string &name)
 
AccessGroupSpeccreate_new_access_group (const std::string &name)
 
AccessGroupSpecfind_new_access_group (const std::string &name)
 
AccessGroupSpeccreate_modified_access_group (const std::string &name)
 
AccessGroupSpecfind_modified_access_group (const std::string &name)
 
ColumnFamilySpecfind_column_family_in_modified_ag (const std::string &name)
 
bool ag_spec_is_new ()
 

Public Attributes

NamespacePtr nsp
 
int command {}
 
std::string ns
 
std::string table_name
 
std::string pseudo_table_name
 
std::string clone_table_name
 
std::string new_table_name
 
std::string str
 
std::string output_file
 
std::string input_file
 
std::string source
 
std::string destination
 
std::string rs_name
 
int input_file_src {}
 
std::string header_file
 
int header_file_src {}
 
::uint32_t group_commit_interval {}
 
ColumnFamilyOptions table_cf_defaults
 
AccessGroupOptions table_ag_defaults
 
std::vector< Stringcolumns
 
std::string timestamp_column
 
int load_flags {}
 
uint32_t flags {}
 
SchemaPtr alter_schema
 
SchemaPtr create_schema
 
ColumnFamilySpeccf_spec {}
 
AccessGroupSpecag_spec {}
 
std::map< std::string,
ColumnFamilySpec * > 
new_cf_map
 
std::vector< ColumnFamilySpec * > new_cf_vector
 
std::map< std::string,
ColumnFamilySpec * > 
modified_cf_map
 
std::vector< ColumnFamilySpec * > modified_cf_vector
 
std::map< std::string,
AccessGroupSpec * > 
new_ag_map
 
std::vector< AccessGroupSpec * > new_ag_vector
 
std::map< std::string,
AccessGroupSpec * > 
modified_ag_map
 
std::vector< AccessGroupSpec * > modified_ag_vector
 
std::set< std::string > new_cf
 
std::set< std::string > column_option_definition_set
 
std::set< std::string > access_group_option_definition_set
 
struct tm tmval
 
::uint32_t nanoseconds {}
 
double decimal_seconds {}
 
ScanState scan
 
InsertRecord current_insert_value
 
CellsBuilder inserts
 
BalancePlan balance_plan
 
std::vector< Stringdelete_columns
 
bool delete_all_columns {}
 
std::string delete_row
 
::int64_t delete_time {}
 
::int64_t delete_version_time {}
 
SystemVariable::Spec current_variable_spec
 
std::vector< SystemVariable::Specvariable_specs
 
bool modify {}
 
bool if_exists {}
 
bool tables_only {}
 
bool with_ids {}
 
bool replay {}
 
std::string range_start_row
 
std::string range_end_row
 
::int32_t scanner_id {-1}
 
::int32_t row_uniquify_chars {}
 
bool escape {true}
 
bool nokeys {}
 
std::string current_rename_column_old_name
 
std::string current_column_family
 
std::string current_column_predicate_name
 
std::string current_column_predicate_qualifier
 
uint32_t current_column_predicate_operation {}
 
char field_separator {}
 

Detailed Description

Definition at line 286 of file HqlParser.h.

Constructor & Destructor Documentation

Hypertable::Hql::ParserState::ParserState ( )
inline

Definition at line 288 of file HqlParser.h.

Hypertable::Hql::ParserState::ParserState ( NamespacePtr ns)
inline

Definition at line 291 of file HqlParser.h.

Member Function Documentation

bool Hypertable::Hql::ParserState::ag_spec_is_new ( )
inline

Definition at line 504 of file HqlParser.h.

void Hypertable::Hql::ParserState::check_and_set_access_group_option ( const std::string &  name,
const std::string &  option 
)
inline

Definition at line 403 of file HqlParser.h.

void Hypertable::Hql::ParserState::check_and_set_column_option ( const std::string &  name,
const std::string &  option 
)
inline

Definition at line 393 of file HqlParser.h.

AccessGroupSpec* Hypertable::Hql::ParserState::create_modified_access_group ( const std::string &  name)
inline

Definition at line 470 of file HqlParser.h.

AccessGroupSpec* Hypertable::Hql::ParserState::create_new_access_group ( const std::string &  name)
inline

Definition at line 452 of file HqlParser.h.

void Hypertable::Hql::ParserState::execute_all_functions ( InsertRecord rec)
inline

Definition at line 371 of file HqlParser.h.

void Hypertable::Hql::ParserState::execute_function ( std::string &  s)
inline

Definition at line 383 of file HqlParser.h.

ColumnFamilySpec* Hypertable::Hql::ParserState::find_column_family_in_modified_ag ( const std::string &  name)
inline

Definition at line 495 of file HqlParser.h.

AccessGroupSpec* Hypertable::Hql::ParserState::find_modified_access_group ( const std::string &  name)
inline

Definition at line 488 of file HqlParser.h.

AccessGroupSpec* Hypertable::Hql::ParserState::find_new_access_group ( const std::string &  name)
inline

Definition at line 463 of file HqlParser.h.

ColumnFamilySpec* Hypertable::Hql::ParserState::get_modified_column_family ( const std::string &  name)
inline

Definition at line 423 of file HqlParser.h.

ColumnFamilySpec* Hypertable::Hql::ParserState::get_new_column_family ( const std::string &  name)
inline

Definition at line 413 of file HqlParser.h.

void Hypertable::Hql::ParserState::validate_function ( const std::string &  s)
inline

Definition at line 364 of file HqlParser.h.

Member Data Documentation

std::set<std::string> Hypertable::Hql::ParserState::access_group_option_definition_set

Definition at line 331 of file HqlParser.h.

AccessGroupSpec* Hypertable::Hql::ParserState::ag_spec {}

Definition at line 320 of file HqlParser.h.

SchemaPtr Hypertable::Hql::ParserState::alter_schema

Definition at line 317 of file HqlParser.h.

BalancePlan Hypertable::Hql::ParserState::balance_plan

Definition at line 338 of file HqlParser.h.

ColumnFamilySpec* Hypertable::Hql::ParserState::cf_spec {}

Definition at line 319 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::clone_table_name

Definition at line 299 of file HqlParser.h.

std::set<std::string> Hypertable::Hql::ParserState::column_option_definition_set

Definition at line 330 of file HqlParser.h.

std::vector<String> Hypertable::Hql::ParserState::columns

Definition at line 313 of file HqlParser.h.

int Hypertable::Hql::ParserState::command {}

Definition at line 295 of file HqlParser.h.

SchemaPtr Hypertable::Hql::ParserState::create_schema

Definition at line 318 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::current_column_family

Definition at line 358 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::current_column_predicate_name

Definition at line 359 of file HqlParser.h.

uint32_t Hypertable::Hql::ParserState::current_column_predicate_operation {}

Definition at line 361 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::current_column_predicate_qualifier

Definition at line 360 of file HqlParser.h.

InsertRecord Hypertable::Hql::ParserState::current_insert_value

Definition at line 336 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::current_rename_column_old_name

Definition at line 357 of file HqlParser.h.

SystemVariable::Spec Hypertable::Hql::ParserState::current_variable_spec

Definition at line 344 of file HqlParser.h.

double Hypertable::Hql::ParserState::decimal_seconds {}

Definition at line 334 of file HqlParser.h.

bool Hypertable::Hql::ParserState::delete_all_columns {}

Definition at line 340 of file HqlParser.h.

std::vector<String> Hypertable::Hql::ParserState::delete_columns

Definition at line 339 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::delete_row

Definition at line 341 of file HqlParser.h.

::int64_t Hypertable::Hql::ParserState::delete_time {}

Definition at line 342 of file HqlParser.h.

::int64_t Hypertable::Hql::ParserState::delete_version_time {}

Definition at line 343 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::destination

Definition at line 305 of file HqlParser.h.

bool Hypertable::Hql::ParserState::escape {true}

Definition at line 355 of file HqlParser.h.

char Hypertable::Hql::ParserState::field_separator {}

Definition at line 362 of file HqlParser.h.

uint32_t Hypertable::Hql::ParserState::flags {}

Definition at line 316 of file HqlParser.h.

::uint32_t Hypertable::Hql::ParserState::group_commit_interval {}

Definition at line 310 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::header_file

Definition at line 308 of file HqlParser.h.

int Hypertable::Hql::ParserState::header_file_src {}

Definition at line 309 of file HqlParser.h.

bool Hypertable::Hql::ParserState::if_exists {}

Definition at line 347 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::input_file

Definition at line 303 of file HqlParser.h.

int Hypertable::Hql::ParserState::input_file_src {}

Definition at line 307 of file HqlParser.h.

CellsBuilder Hypertable::Hql::ParserState::inserts

Definition at line 337 of file HqlParser.h.

int Hypertable::Hql::ParserState::load_flags {}

Definition at line 315 of file HqlParser.h.

std::map<std::string, AccessGroupSpec *> Hypertable::Hql::ParserState::modified_ag_map

Definition at line 327 of file HqlParser.h.

std::vector<AccessGroupSpec *> Hypertable::Hql::ParserState::modified_ag_vector

Definition at line 328 of file HqlParser.h.

std::map<std::string, ColumnFamilySpec *> Hypertable::Hql::ParserState::modified_cf_map

Definition at line 323 of file HqlParser.h.

std::vector<ColumnFamilySpec *> Hypertable::Hql::ParserState::modified_cf_vector

Definition at line 324 of file HqlParser.h.

bool Hypertable::Hql::ParserState::modify {}

Definition at line 346 of file HqlParser.h.

::uint32_t Hypertable::Hql::ParserState::nanoseconds {}

Definition at line 333 of file HqlParser.h.

std::map<std::string, AccessGroupSpec *> Hypertable::Hql::ParserState::new_ag_map

Definition at line 325 of file HqlParser.h.

std::vector<AccessGroupSpec *> Hypertable::Hql::ParserState::new_ag_vector

Definition at line 326 of file HqlParser.h.

std::set<std::string> Hypertable::Hql::ParserState::new_cf

Definition at line 329 of file HqlParser.h.

std::map<std::string, ColumnFamilySpec *> Hypertable::Hql::ParserState::new_cf_map

Definition at line 321 of file HqlParser.h.

std::vector<ColumnFamilySpec *> Hypertable::Hql::ParserState::new_cf_vector

Definition at line 322 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::new_table_name

Definition at line 300 of file HqlParser.h.

bool Hypertable::Hql::ParserState::nokeys {}

Definition at line 356 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::ns

Definition at line 296 of file HqlParser.h.

NamespacePtr Hypertable::Hql::ParserState::nsp

Definition at line 294 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::output_file

Definition at line 302 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::pseudo_table_name

Definition at line 298 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::range_end_row

Definition at line 352 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::range_start_row

Definition at line 351 of file HqlParser.h.

bool Hypertable::Hql::ParserState::replay {}

Definition at line 350 of file HqlParser.h.

::int32_t Hypertable::Hql::ParserState::row_uniquify_chars {}

Definition at line 354 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::rs_name

Definition at line 306 of file HqlParser.h.

ScanState Hypertable::Hql::ParserState::scan

Definition at line 335 of file HqlParser.h.

::int32_t Hypertable::Hql::ParserState::scanner_id {-1}

Definition at line 353 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::source

Definition at line 304 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::str

Definition at line 301 of file HqlParser.h.

AccessGroupOptions Hypertable::Hql::ParserState::table_ag_defaults

Definition at line 312 of file HqlParser.h.

ColumnFamilyOptions Hypertable::Hql::ParserState::table_cf_defaults

Definition at line 311 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::table_name

Definition at line 297 of file HqlParser.h.

bool Hypertable::Hql::ParserState::tables_only {}

Definition at line 348 of file HqlParser.h.

std::string Hypertable::Hql::ParserState::timestamp_column

Definition at line 314 of file HqlParser.h.

struct tm Hypertable::Hql::ParserState::tmval

Definition at line 332 of file HqlParser.h.

std::vector<SystemVariable::Spec> Hypertable::Hql::ParserState::variable_specs

Definition at line 345 of file HqlParser.h.

bool Hypertable::Hql::ParserState::with_ids {}

Definition at line 349 of file HqlParser.h.


The documentation for this class was generated from the following file: