0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros | Enumerations | Functions
HqlParser.h File Reference
#include <Hypertable/Lib/BalancePlan.h>
#include <Hypertable/Lib/Cells.h>
#include <Hypertable/Lib/Client.h>
#include <Hypertable/Lib/Key.h>
#include <Hypertable/Lib/LoadDataFlags.h>
#include <Hypertable/Lib/LoadDataSource.h>
#include <Hypertable/Lib/RangeServer/Protocol.h>
#include <Hypertable/Lib/ScanSpec.h>
#include <Hypertable/Lib/Schema.h>
#include <Hypertable/Lib/SystemVariable.h>
#include <Hypertable/Lib/Table.h>
#include <Hypertable/Lib/TableParts.h>
#include <Common/Error.h>
#include <Common/FileUtils.h>
#include <Common/Logger.h>
#include <Common/Time.h>
#include <Common/TimeInline.h>
#include "HyperAppHelper/Unique.h"
#include <boost/algorithm/string.hpp>
#include <boost/spirit/include/classic_confix.hpp>
#include <boost/spirit/include/classic_core.hpp>
#include <boost/spirit/include/classic_escape_char.hpp>
#include <boost/spirit/include/classic_symbols.hpp>
#include <cctype>
#include <cstdlib>
#include <fstream>
#include <functional>
#include <iostream>
#include <set>
#include <sstream>
#include <vector>
Include dependency graph for HqlParser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Hypertable::Hql::InsertRecord
 
class  Hypertable::Hql::RowInterval
 
class  Hypertable::Hql::CellInterval
 
class  Hypertable::Hql::ScanState
 
class  Hypertable::Hql::ParserState
 
struct  Hypertable::Hql::set_command
 
struct  Hypertable::Hql::set_namespace
 
struct  Hypertable::Hql::set_rangeserver
 
struct  Hypertable::Hql::set_table_name
 
struct  Hypertable::Hql::set_new_table_name
 
struct  Hypertable::Hql::start_alter_table
 
struct  Hypertable::Hql::set_clone_table_name
 
struct  Hypertable::Hql::set_range_start_row
 
struct  Hypertable::Hql::set_range_end_row
 
struct  Hypertable::Hql::set_source
 
struct  Hypertable::Hql::set_destination
 
struct  Hypertable::Hql::set_balance_algorithm
 
struct  Hypertable::Hql::add_range_move_spec
 
struct  Hypertable::Hql::balance_set_duration
 
struct  Hypertable::Hql::set_if_exists
 
struct  Hypertable::Hql::set_tables_only
 
struct  Hypertable::Hql::set_with_ids
 
struct  Hypertable::Hql::set_replay
 
struct  Hypertable::Hql::start_create_table_statement
 
struct  Hypertable::Hql::finish_create_table_statement
 
struct  Hypertable::Hql::finish_alter_table_statement
 
struct  Hypertable::Hql::set_modify_flag
 
struct  Hypertable::Hql::open_column_family
 
struct  Hypertable::Hql::open_existing_column_family
 
struct  Hypertable::Hql::close_column_family
 
struct  Hypertable::Hql::drop_column_family
 
struct  Hypertable::Hql::drop_value_index
 
struct  Hypertable::Hql::drop_qualifier_index
 
struct  Hypertable::Hql::set_rename_column_family_old_name
 
struct  Hypertable::Hql::set_rename_column_family_new_name
 
struct  Hypertable::Hql::set_counter
 
struct  Hypertable::Hql::set_max_versions
 
struct  Hypertable::Hql::set_time_order
 
struct  Hypertable::Hql::set_ttl
 
struct  Hypertable::Hql::open_access_group
 
struct  Hypertable::Hql::close_access_group
 
struct  Hypertable::Hql::set_in_memory
 
struct  Hypertable::Hql::set_compressor
 
struct  Hypertable::Hql::set_blocksize
 
struct  Hypertable::Hql::set_replication
 
struct  Hypertable::Hql::set_bloom_filter
 
struct  Hypertable::Hql::access_group_add_column_family
 
struct  Hypertable::Hql::create_index
 
struct  Hypertable::Hql::create_qualifier_index
 
struct  Hypertable::Hql::scan_set_no_cache
 
struct  Hypertable::Hql::scan_set_row_regexp
 
struct  Hypertable::Hql::scan_set_value_regexp
 
struct  Hypertable::Hql::scan_set_column_predicate_name
 
struct  Hypertable::Hql::scan_set_column_predicate_qualifier
 
struct  Hypertable::Hql::scan_set_column_predicate_value
 
struct  Hypertable::Hql::scan_set_column_predicate_operation
 
struct  Hypertable::Hql::set_group_commit_interval
 
struct  Hypertable::Hql::set_help
 
struct  Hypertable::Hql::set_str
 
struct  Hypertable::Hql::set_output_file
 
struct  Hypertable::Hql::set_input_file
 
struct  Hypertable::Hql::set_header_file
 
struct  Hypertable::Hql::set_dup_key_cols
 
struct  Hypertable::Hql::set_dup_key_cols_true
 
struct  Hypertable::Hql::add_column
 
struct  Hypertable::Hql::set_timestamp_column
 
struct  Hypertable::Hql::set_row_uniquify_chars
 
struct  Hypertable::Hql::set_ignore_unknown_cfs
 
struct  Hypertable::Hql::set_single_cell_format
 
struct  Hypertable::Hql::set_field_separator
 
struct  Hypertable::Hql::scan_add_column_family
 
struct  Hypertable::Hql::scan_add_column_qualifier
 
struct  Hypertable::Hql::scan_set_display_timestamps
 
struct  Hypertable::Hql::scan_set_display_revisions
 
struct  Hypertable::Hql::scan_clear_display_timestamps
 
struct  Hypertable::Hql::scan_add_row_interval
 
struct  Hypertable::Hql::scan_set_cell_row
 
struct  Hypertable::Hql::scan_set_cell_column
 
struct  Hypertable::Hql::scan_set_row
 
struct  Hypertable::Hql::scan_set_buckets
 
struct  Hypertable::Hql::scan_set_max_versions
 
struct  Hypertable::Hql::scan_set_row_limit
 
struct  Hypertable::Hql::scan_set_cell_limit
 
struct  Hypertable::Hql::scan_set_cell_limit_per_family
 
struct  Hypertable::Hql::scan_set_row_offset
 
struct  Hypertable::Hql::scan_set_cell_offset
 
struct  Hypertable::Hql::scan_set_outfile
 
struct  Hypertable::Hql::scan_set_year
 
struct  Hypertable::Hql::scan_set_month
 
struct  Hypertable::Hql::scan_set_day
 
struct  Hypertable::Hql::scan_set_seconds
 
struct  Hypertable::Hql::scan_set_minutes
 
struct  Hypertable::Hql::scan_set_hours
 
struct  Hypertable::Hql::scan_set_decimal_seconds
 
struct  Hypertable::Hql::scan_set_nanoseconds
 
struct  Hypertable::Hql::scan_set_relop
 
struct  Hypertable::Hql::scan_set_boolop
 
struct  Hypertable::Hql::scan_set_time
 
struct  Hypertable::Hql::scan_set_return_deletes
 
struct  Hypertable::Hql::scan_set_scan_and_filter_rows
 
struct  Hypertable::Hql::set_noescape
 
struct  Hypertable::Hql::set_no_log
 
struct  Hypertable::Hql::scan_set_keys_only
 
struct  Hypertable::Hql::set_insert_timestamp
 
struct  Hypertable::Hql::set_insert_rowkey
 
struct  Hypertable::Hql::set_insert_rowkey_call
 
struct  Hypertable::Hql::set_insert_columnkey
 
struct  Hypertable::Hql::set_insert_value
 
struct  Hypertable::Hql::set_insert_value_call
 
struct  Hypertable::Hql::add_insert_value
 
struct  Hypertable::Hql::delete_column
 
struct  Hypertable::Hql::delete_set_row
 
struct  Hypertable::Hql::set_delete_timestamp
 
struct  Hypertable::Hql::set_delete_version_timestamp
 
struct  Hypertable::Hql::set_scanner_id
 
struct  Hypertable::Hql::set_nokeys
 
struct  Hypertable::Hql::set_flags_range_type
 
struct  Hypertable::Hql::set_flags_compaction_type
 
struct  Hypertable::Hql::set_flags_index_type
 
struct  Hypertable::Hql::set_variable_name
 
struct  Hypertable::Hql::set_variable_value
 
struct  Hypertable::Hql::Parser
 
struct  Hypertable::Hql::Parser::definition< ScannerT >
 

Namespaces

 Hypertable
 Hypertable definitions
 
 Hypertable::Hql
 

Macros

#define HQL_DEBUG(_expr_)
 
#define HQL_DEBUG_VAL(str, val)
 

Enumerations

enum  {
  Hypertable::Hql::COMMAND_HELP =1, Hypertable::Hql::COMMAND_CREATE_TABLE, Hypertable::Hql::COMMAND_DESCRIBE_TABLE, Hypertable::Hql::COMMAND_SHOW_CREATE_TABLE,
  Hypertable::Hql::COMMAND_SELECT, Hypertable::Hql::COMMAND_LOAD_DATA, Hypertable::Hql::COMMAND_INSERT, Hypertable::Hql::COMMAND_DELETE,
  Hypertable::Hql::COMMAND_GET_LISTING, Hypertable::Hql::COMMAND_DROP_TABLE, Hypertable::Hql::COMMAND_ALTER_TABLE, Hypertable::Hql::COMMAND_CREATE_SCANNER,
  Hypertable::Hql::COMMAND_DESTROY_SCANNER, Hypertable::Hql::COMMAND_FETCH_SCANBLOCK, Hypertable::Hql::COMMAND_LOAD_RANGE, Hypertable::Hql::COMMAND_SHUTDOWN,
  Hypertable::Hql::COMMAND_SHUTDOWN_MASTER, Hypertable::Hql::COMMAND_UPDATE, Hypertable::Hql::COMMAND_REPLAY_BEGIN, Hypertable::Hql::COMMAND_REPLAY_LOAD_RANGE,
  Hypertable::Hql::COMMAND_REPLAY_LOG, Hypertable::Hql::COMMAND_REPLAY_COMMIT, Hypertable::Hql::COMMAND_DROP_RANGE, Hypertable::Hql::COMMAND_DUMP,
  Hypertable::Hql::COMMAND_CLOSE, Hypertable::Hql::COMMAND_DUMP_TABLE, Hypertable::Hql::COMMAND_EXISTS_TABLE, Hypertable::Hql::COMMAND_USE_NAMESPACE,
  Hypertable::Hql::COMMAND_CREATE_NAMESPACE, Hypertable::Hql::COMMAND_DROP_NAMESPACE, Hypertable::Hql::COMMAND_RENAME_TABLE, Hypertable::Hql::COMMAND_WAIT_FOR_MAINTENANCE,
  Hypertable::Hql::COMMAND_BALANCE, Hypertable::Hql::COMMAND_HEAPCHECK, Hypertable::Hql::COMMAND_COMPACT, Hypertable::Hql::COMMAND_METADATA_SYNC,
  Hypertable::Hql::COMMAND_STOP, Hypertable::Hql::COMMAND_DUMP_PSEUDO_TABLE, Hypertable::Hql::COMMAND_SET, Hypertable::Hql::COMMAND_REBUILD_INDICES,
  Hypertable::Hql::COMMAND_STATUS, Hypertable::Hql::COMMAND_MAX
}
 
enum  {
  Hypertable::Hql::RELOP_EQ =1, Hypertable::Hql::RELOP_LT, Hypertable::Hql::RELOP_LE, Hypertable::Hql::RELOP_GT,
  Hypertable::Hql::RELOP_GE, Hypertable::Hql::RELOP_SW
}
 
enum  { Hypertable::Hql::BOOLOP_AND =0, Hypertable::Hql::BOOLOP_OR }
 
enum  { Hypertable::Hql::ALTER_ADD =1, Hypertable::Hql::ALTER_DROP, Hypertable::Hql::ALTER_RENAME_CF }
 
enum  { Hypertable::Hql::NO_QUALIFIER =1, Hypertable::Hql::EXACT_QUALIFIER, Hypertable::Hql::REGEXP_QUALIFIER, Hypertable::Hql::PREFIX_QUALIFIER }
 

Functions

std::string Hypertable::Hql::strip_quotes (const char *str, size_t len)
 Creates string with outer quotes stripped off. More...
 
std::string Hypertable::Hql::regex_from_literal (const char *str, size_t len)
 
bool Hypertable::Hql::invalid_column_name (const std::string &name)
 

Macro Definition Documentation

#define HQL_DEBUG (   _expr_)

Definition at line 32 of file HqlParser.h.

#define HQL_DEBUG_VAL (   str,
  val 
)

Definition at line 33 of file HqlParser.h.