|
Public Member Functions |
| Table (string name, const TupleDescription schema, const DOMElement *element, ptr< TableEnvironment > tenv) |
| Creates or opens the table with the given name and schema.
|
| Table (string name, TupleDescription schema, DBTYPE db_type, int db_open_flags, ptr< TableEnvironment > tenv) |
void | addIndex (const DOMElement *elt) |
| ~Table () |
| Close the table.
|
string | getName () const |
const TupleDescription | getSchema () const |
void | insert (const void *tuple) |
ptr< SelectQueryHandle > | compileSelect (ptr< SQLSelect > select) |
ptr< UpdateQueryHandle > | compileUpdate (ptr< SQLUpdate > select) |
ptr< ScanQueryHandle > | getScanQueryHandle () |
void | sync () |
| Write any cached data out to disk.
|
unsigned int | deleteFromHead (unsigned int head) |
void | insertIntoQueue (const void *tuple) throw (AuroraException) |
unsigned int | getSize () throw (AuroraException) |
string | as_string () const |
Dbc * | getDbCursor () |
const vector< string > & | getKeyFieldNames () const |
vector< ptr< TableIndex > > & | getIndexes () |
void | insertIntoIndexes (const Dbt &_key, const Dbt &_value) |
void | deleteFromIndexes (const Dbt &_key, const Dbt &_value) |
Protected Member Functions |
void | evalKey (char *buf, const char *row) |