#include <SQLSelect.h>
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< SQLWhereClause > | getWhereClause () |
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< SQLSelect > | parse (string expr, const ExprContext &ctxt, string table_name) throw (ExprException) |
|
|
|
Empty select list means select all. NULL where clause means always true. |
|
|
|
|
|
Evaluates into a buffer. The buffer must be large enough.
|
|
|
|
|
|
Evaluate the where clause, return true if it is true or nonexistant.
|
|
|
|
|