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

Namespaces

namespace  ParseTree
namespace  Scanner

Classes

class  Driver
class  location
 Abstract a location. More...
class  position
 Abstract a position. More...
class  Parser
 A Bison parser. More...
class  stack
class  slice
 Present a slice of the top of a stack. More...

Functions

bool commandlineExec (const std::string &input)
const location operator+ (const location &begin, const location &end)
 Join two location objects to create a location.
const location operator+ (const location &begin, unsigned int width)
 Add two location objects.
locationoperator+= (location &res, unsigned int width)
 Add and assign a location.
bool operator== (const location &loc1, const location &loc2)
 Compare two location objects.
bool operator!= (const location &loc1, const location &loc2)
 Compare two location objects.
std::ostream & operator<< (std::ostream &ostr, const location &loc)
 Intercept output stream redirection.
const positionoperator+= (position &res, const int width)
 Add and assign a position.
const position operator+ (const position &begin, const int width)
 Add two position objects.
const positionoperator-= (position &res, const int width)
 Add and assign a position.
const position operator- (const position &begin, const int width)
 Add two position objects.
bool operator== (const position &pos1, const position &pos2)
 Compare two position objects.
bool operator!= (const position &pos1, const position &pos2)
 Compare two position objects.
std::ostream & operator<< (std::ostream &ostr, const position &pos)
 Intercept output stream redirection.

Function Documentation

bool CoGaDB::SQL::commandlineExec ( const std::string &  input)

References driver, CoGaDB::getTimestamp(), and CoGaDB::SQL::Driver::parse().

Referenced by CoGaDB::CommandLineInterpreter::CommandLineInterpreter().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CoGaDB::SQL::operator!= ( const location &  loc1,
const location &  loc2 
) [inline]

Compare two location objects.

bool CoGaDB::SQL::operator!= ( const position &  pos1,
const position &  pos2 
) [inline]

Compare two position objects.

const location CoGaDB::SQL::operator+ ( const location &  begin,
const location &  end 
) [inline]

Join two location objects to create a location.

References CoGaDB::SQL::location::end.

const position CoGaDB::SQL::operator+ ( const position &  begin,
const int  width 
) [inline]

Add two position objects.

const location CoGaDB::SQL::operator+ ( const location &  begin,
unsigned int  width 
) [inline]

Add two location objects.

References CoGaDB::SQL::location::columns().

Here is the call graph for this function:

const position& CoGaDB::SQL::operator+= ( position &  res,
const int  width 
) [inline]

Add and assign a position.

References CoGaDB::SQL::position::columns().

Here is the call graph for this function:

location& CoGaDB::SQL::operator+= ( location &  res,
unsigned int  width 
) [inline]

Add and assign a location.

References CoGaDB::SQL::location::columns().

Here is the call graph for this function:

const position CoGaDB::SQL::operator- ( const position &  begin,
const int  width 
) [inline]

Add two position objects.

const position& CoGaDB::SQL::operator-= ( position &  res,
const int  width 
) [inline]

Add and assign a position.

std::ostream& CoGaDB::SQL::operator<< ( std::ostream &  ostr,
const location &  loc 
) [inline]

Intercept output stream redirection.

Parameters:
ostrthe destination output stream
loca reference to the location to redirect

Avoid duplicate information.

References CoGaDB::SQL::location::begin, CoGaDB::SQL::position::column, CoGaDB::SQL::location::end, CoGaDB::SQL::position::filename, and CoGaDB::SQL::position::line.

std::ostream& CoGaDB::SQL::operator<< ( std::ostream &  ostr,
const position &  pos 
) [inline]

Intercept output stream redirection.

Parameters:
ostrthe destination output stream
posa reference to the position to redirect

References CoGaDB::SQL::position::column, CoGaDB::SQL::position::filename, and CoGaDB::SQL::position::line.

bool CoGaDB::SQL::operator== ( const location &  loc1,
const location &  loc2 
) [inline]

Compare two location objects.

References CoGaDB::SQL::location::begin, and CoGaDB::SQL::location::end.

bool CoGaDB::SQL::operator== ( const position &  pos1,
const position &  pos2 
) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines