#include <SDBWithStats.h>
Inheritance diagram for PLearn::SDBWithStats:


Public Member Functions | |
| int | nfields () |
| string | fieldname (int i) |
| SDBWithStats (string basename, string path=".", AccessType access=readwrite, bool verbose=true) | |
| void | forgetStats () |
| void | computeStats (unsigned int nrows) |
| void | computeStats () |
| bool | hasStats () |
| returns true if the stats files exist | |
| void | saveStats () |
| void | loadStats () |
| FieldStat & | getStat (int i) |
| const FieldStat & | getStat (int i) const |
| FieldStat & | getStat (const string &fieldname) |
| const FieldStat & | getStat (const string &fieldname) const |
Public Attributes | |
| vector< FieldStat > | fieldstat |
|
||||||||||||||||||||
|
Definition at line 98 of file SDBWithStats.cc. References fieldstat, PLearn::SimpleDB< KeyType, QueryResult >::getSchema(), hasStats(), loadStats(), PLearn::SDB, and PLearn::SimpleDB< KeyType, QueryResult >::size(). |
|
|
Definition at line 119 of file SDBWithStats.h. References PLearn::SimpleDB< KeyType, QueryResult >::size(). |
|
|
|
Definition at line 111 of file SDBWithStats.h. References fieldname(), and PLearn::SimpleDB< KeyType, QueryResult >::getSchema(). Referenced by fieldname(), loadStats(), and saveStats(). |
|
|
Definition at line 106 of file SDBWithStats.cc. References PLearn::FieldStat::clear(), getStat(), and PLearn::SimpleDB< KeyType, QueryResult >::width(). Referenced by computeStats(), and loadStats(). |
|
|
Definition at line 276 of file SDBWithStats.cc. |
|
|
Definition at line 268 of file SDBWithStats.cc. |
|
|
Definition at line 261 of file SDBWithStats.cc. References fieldstat, PLERROR, and PLearn::SimpleDB< KeyType, QueryResult >::width(). |
|
|
Definition at line 254 of file SDBWithStats.cc. References fieldstat, PLERROR, and PLearn::SimpleDB< KeyType, QueryResult >::width(). Referenced by forgetStats(), PLearn::SDBVMSource::getFieldStat(), and getStat(). |
|
|
returns true if the stats files exist
Definition at line 157 of file SDBWithStats.cc. References PLearn::file_exists(), PLearn::SimpleDB< KeyType, QueryResult >::getName(), and PLearn::SimpleDB< KeyType, QueryResult >::getPath(). Referenced by PLearn::SDBVMatrix::SDBVMatrix(), and SDBWithStats(). |
|
|
|
Definition at line 110 of file SDBWithStats.h. References PLearn::SimpleDB< KeyType, QueryResult >::getSchema(). Referenced by computeStats(). |
|
|
|
Definition at line 109 of file SDBWithStats.h. Referenced by computeStats(), getStat(), loadStats(), saveStats(), and SDBWithStats(). |
1.3.7