Column-oriented GPU-accelerated Database Management System
CoGaDB
CoGaDB::SQL::Driver Class Reference

#include <sql_driver.hpp>

Collaboration diagram for CoGaDB::SQL::Driver:

List of all members.

Classes

class  ParseError

Public Member Functions

 Driver ()
 ~Driver ()
ParseTree::SequencePtr parse (std::istream &is)
ParseTree::SequencePtr parse (const std::string &src)

Public Attributes

std::istream * istream

Private Member Functions

void init_scan ()
void set_input (std::istream &is)
void set_input (const std::string &src)
void destroy_scan ()
void error (const std::string &m)
void unsupported (void)

Private Attributes

Scanner::buffer buffer
Scanner::type scanner
Parser parser
ParseTree::SequencePtr result

Friends

class Parser
Parser::token_type Scanner::lex (Parser::semantic_type *, Scanner::type)

Constructor & Destructor Documentation

References init_scan(), parser, and CoGaDB::SQL::Parser::set_debug_level().

Here is the call graph for this function:

References destroy_scan().

Here is the call graph for this function:


Member Function Documentation

References cogadb_sql_scanner__delete_buffer(), and cogadb_sql_scanner_lex_destroy().

Referenced by ~Driver().

Here is the call graph for this function:

Here is the caller graph for this function:

void CoGaDB::SQL::Driver::error ( const std::string &  m) [private]

References cogadb_sql_scanner_get_lineno().

Referenced by CoGaDB::SQL::Parser::error(), and unsupported().

Here is the call graph for this function:

Here is the caller graph for this function:

void CoGaDB::SQL::Driver::init_scan ( ) [private]

References cogadb_sql_scanner_lex_init_extra().

Referenced by Driver().

Here is the call graph for this function:

Here is the caller graph for this function:

References CoGaDB::SQL::Parser::parse(), parser, result, and set_input().

Referenced by CoGaDB::SQL::commandlineExec(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

ParseTree::SequencePtr CoGaDB::SQL::Driver::parse ( const std::string &  src)

References CoGaDB::SQL::Parser::parse(), parser, result, and set_input().

Here is the call graph for this function:

void CoGaDB::SQL::Driver::set_input ( std::istream &  is) [private]

References cogadb_sql_scanner__create_buffer(), cogadb_sql_scanner__delete_buffer(), cogadb_sql_scanner__switch_to_buffer(), and YY_BUF_SIZE.

Referenced by parse().

Here is the call graph for this function:

Here is the caller graph for this function:

void CoGaDB::SQL::Driver::set_input ( const std::string &  src) [private]

References cogadb_sql_scanner__delete_buffer(), and cogadb_sql_scanner__scan_string().

Here is the call graph for this function:

void CoGaDB::SQL::Driver::unsupported ( void  ) [inline, private]

References error().

Referenced by CoGaDB::SQL::Parser::parse().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class Parser [friend]

Member Data Documentation

Referenced by Driver(), and parse().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines