Public Member Functions | |
| PureDb (String enc, String dbname, String[] args) throws IOException | |
| Rec | readRow (int rowid) |
| short | writeRow (Rec row) |
| short | writeXRow (Rec row, Rec idx) |
| Rec | scanRow (int rowid, int tag, String txt) |
| int[] | search (String key, int mode) |
| Iterator | terms (String prefix) |
This class is the pure java implementation of class Db. Unfortunately, it's still empty :(
| Rec org::openisis::PureDb::readRow | ( | int | rowid | ) | [inline, virtual] |
read a cooked row.
| rowid | the mfn |
Implements org::openisis::Db.
| Rec org::openisis::PureDb::scanRow | ( | int | rowid, | |
| int | tag, | |||
| String | txt | |||
| ) | [inline, virtual] |
read the first row with rowid >= given rowid and containing txt in subfield tag (any, if 0).
| rowid | the mfn |
Implements org::openisis::Db.
| int [] org::openisis::PureDb::search | ( | String | key, | |
| int | mode | |||
| ) | [inline, virtual] |
read the array of rowids matching key.
| key | key to look for | |
| mode | one of the QRY_ constants above. may be ored with a tag<<16 to limit search to that field |
Implements org::openisis::Db.
| short org::openisis::PureDb::writeRow | ( | Rec | rec | ) | [inline, virtual] |
write a cooked row.
| row | the Rec to be written |
Implements org::openisis::Db.
write a cooked row together with index information.
| row | the Rec to be written |
Implements org::openisis::Db.
1.6.1