Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

SQLSelect Class Reference

#include <SQLSelect.h>

List of all members.

Public Types

typedef pair< string, ptr<
Expression > > 
SelectEntry

Public Member Functions

 SQLSelect (string table, const vector< SelectEntry > &select_list, ptr< SQLWhereClause > where_clause)
 Empty select list means select all.
 ~SQLSelect ()
void setup (const ExprContext &ctxt) throw (AuroraException)
string getTableName () const
TupleDescription getResultTupleDescription () const
ptr< SQLWhereClausegetWhereClause ()
 Evaluate the where clause, return true if it is true or nonexistant.
void evalInto (char *buf, const EvalContext &ctxt) throw (EvalException)
 Evaluates into a buffer. The buffer must be large enough.
const string as_string () const

Static Public Member Functions

ptr< SQLSelectparse (string expr, const ExprContext &ctxt, string table_name) throw (ExprException)


Member Typedef Documentation

typedef pair<string, ptr<Expression> > SQLSelect::SelectEntry
 


Constructor & Destructor Documentation

SQLSelect::SQLSelect string  table,
const vector< SelectEntry > &  select_list,
ptr< SQLWhereClause where_clause
 

Empty select list means select all.

NULL where clause means always true.

SQLSelect::~SQLSelect  ) 
 


Member Function Documentation

const string SQLSelect::as_string  )  const
 

void SQLSelect::evalInto char *  buf,
const EvalContext ctxt
throw (EvalException)
 

Evaluates into a buffer. The buffer must be large enough.

TupleDescription SQLSelect::getResultTupleDescription  )  const
 

string SQLSelect::getTableName  )  const
 

ptr<SQLWhereClause> SQLSelect::getWhereClause  ) 
 

Evaluate the where clause, return true if it is true or nonexistant.

ptr< SQLSelect > SQLSelect::parse string  expr,
const ExprContext ctxt,
string  table_name
throw (ExprException) [static]
 

void SQLSelect::setup const ExprContext ctxt  )  throw (AuroraException)
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 12 15:15:24 2004 for Borealis by doxygen 1.3.8