#include <part.h>

Public Member Functions | |
| barrel (const ibis::part *t=0) | |
| virtual long | close () |
| Close all open files. | |
| const ibis::column * | getColumn (uint32_t i) const |
| void | getNullMask (ibis::bitvector &mask) const |
| virtual long | open (const ibis::part *t=0) |
| Open all data files. | |
| virtual long | read () |
| Read one value for each variable. | |
| virtual long | seek (uint32_t pos) |
| Move the file pointers to the posth record. | |
| uint32_t | tell () const |
| virtual | ~barrel () |
| Destructor closes the open files. | |
Protected Attributes | |
| const ibis::part * | _tbl |
| std::vector< const ibis::column * > | cols |
| std::vector< int > | fdes |
| uint32_t | position |
|
std::vector < ibis::fileManager::storage * > | stores |
This implementation opens each data file and read the values from the files one at a time.
| long ibis::part::barrel::read | ( | ) | [virtual] |
Read one value for each variable.
Read the variable values from the current record.
All values are internally stored as doubles.
Reimplemented in ibis::part::vault.
References ibis::CATEGORY, ibis::DOUBLE, ibis::FLOAT, ibis::INT, ibis::part::logWarning(), ibis::OID, ibis::TEXT, ibis::TYPESTRING, and ibis::UINT.
Referenced by ibis::part::evaluateJoin().
| long ibis::part::barrel::seek | ( | uint32_t | pos | ) | [virtual] |
Move the file pointers to the posth record.
Seek to the position of the specified record for all variables.
Return 0 for success and other integer for error.
Reimplemented in ibis::part::vault.
References ibis::part::nRows().
Referenced by ibis::part::evaluateJoin().
|
|