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

SQLUpdate Class Reference

#include <SQLUpdate.h>

List of all members.

Public Member Functions

 SQLUpdate (string table, const vector< ptr< SetExpr > > &set_list, ptr< SQLWhereClause > where_clause, const ExprContext &ctxt)
 ~SQLUpdate ()
string getTableName () const
ptr< SQLWhereClausegetWhereClause ()
 Return the where clause, or NULL if there isn't one.
void evalNewRow (char *new_row, const EvalContext &ctxt) throw (EvalException)
 Given eval context with the input tuple at index 1, and the current table row at 0.
const string as_string () const

Static Public Member Functions

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


Constructor & Destructor Documentation

SQLUpdate::SQLUpdate string  table,
const vector< ptr< SetExpr > > &  set_list,
ptr< SQLWhereClause where_clause,
const ExprContext ctxt
 

SQLUpdate::~SQLUpdate  ) 
 


Member Function Documentation

const string SQLUpdate::as_string  )  const
 

void SQLUpdate::evalNewRow char *  new_row,
const EvalContext ctxt
throw (EvalException)
 

Given eval context with the input tuple at index 1, and the current table row at 0.

new_row should have enough space.

string SQLUpdate::getTableName  )  const
 

ptr<SQLWhereClause> SQLUpdate::getWhereClause  ) 
 

Return the where clause, or NULL if there isn't one.

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


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