0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Enumerations | Functions
Hypertable::Hql Namespace Reference

Classes

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

Enumerations

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

Functions

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

Enumeration Type Documentation

anonymous enum
Enumerator
COMMAND_HELP 
COMMAND_CREATE_TABLE 
COMMAND_DESCRIBE_TABLE 
COMMAND_SHOW_CREATE_TABLE 
COMMAND_SELECT 
COMMAND_LOAD_DATA 
COMMAND_INSERT 
COMMAND_DELETE 
COMMAND_GET_LISTING 
COMMAND_DROP_TABLE 
COMMAND_ALTER_TABLE 
COMMAND_CREATE_SCANNER 
COMMAND_DESTROY_SCANNER 
COMMAND_FETCH_SCANBLOCK 
COMMAND_LOAD_RANGE 
COMMAND_SHUTDOWN 
COMMAND_SHUTDOWN_MASTER 
COMMAND_UPDATE 
COMMAND_REPLAY_BEGIN 
COMMAND_REPLAY_LOAD_RANGE 
COMMAND_REPLAY_LOG 
COMMAND_REPLAY_COMMIT 
COMMAND_DROP_RANGE 
COMMAND_DUMP 
COMMAND_CLOSE 
COMMAND_DUMP_TABLE 
COMMAND_EXISTS_TABLE 
COMMAND_USE_NAMESPACE 
COMMAND_CREATE_NAMESPACE 
COMMAND_DROP_NAMESPACE 
COMMAND_RENAME_TABLE 
COMMAND_WAIT_FOR_MAINTENANCE 
COMMAND_BALANCE 
COMMAND_HEAPCHECK 
COMMAND_COMPACT 
COMMAND_METADATA_SYNC 
COMMAND_STOP 
COMMAND_DUMP_PSEUDO_TABLE 
COMMAND_SET 
COMMAND_REBUILD_INDICES 
COMMAND_STATUS 
COMMAND_MAX 

Definition at line 79 of file HqlParser.h.

anonymous enum
Enumerator
RELOP_EQ 
RELOP_LT 
RELOP_LE 
RELOP_GT 
RELOP_GE 
RELOP_SW 

Definition at line 124 of file HqlParser.h.

anonymous enum
Enumerator
BOOLOP_AND 
BOOLOP_OR 

Definition at line 133 of file HqlParser.h.

anonymous enum
Enumerator
ALTER_ADD 
ALTER_DROP 
ALTER_RENAME_CF 

Definition at line 138 of file HqlParser.h.

anonymous enum
Enumerator
NO_QUALIFIER 
EXACT_QUALIFIER 
REGEXP_QUALIFIER 
PREFIX_QUALIFIER 

Definition at line 144 of file HqlParser.h.

Function Documentation

bool Hypertable::Hql::invalid_column_name ( const std::string &  name)
inline

Definition at line 535 of file HqlParser.h.

std::string Hypertable::Hql::regex_from_literal ( const char *  str,
size_t  len 
)
inline

Definition at line 521 of file HqlParser.h.

std::string Hypertable::Hql::strip_quotes ( const char *  str,
size_t  len 
)
inline

Creates string with outer quotes stripped off.

Parameters
strPointer to c-style string
lenLength of string
Returns
std::string with outer quotes stripped off

Definition at line 515 of file HqlParser.h.