org::openisis::PureDb Class Reference

Inheritance diagram for org::openisis::PureDb:
org::openisis::Db

List of all members.

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)

Detailed Description

This class is the pure java implementation of class Db. Unfortunately, it's still empty :(

Id
PureDb.java,v 1.4 2003/04/08 00:20:53 kripke Exp
Version:
Revision
1.4
Author:
Author
kripke

Member Function Documentation

Rec org::openisis::PureDb::readRow ( int  rowid  )  [inline, virtual]

read a cooked row.

Parameters:
rowid the mfn
Returns:
a Rec or null, if row not available.

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).

Parameters:
rowid the mfn
Returns:
a Rec or null, if row not available.

Implements org::openisis::Db.

int [] org::openisis::PureDb::search ( String  key,
int  mode 
) [inline, virtual]

read the array of rowids matching key.

Parameters:
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.

Parameters:
row the Rec to be written
Returns:
0 if write succeeded, else a negative error code

Implements org::openisis::Db.

short org::openisis::PureDb::writeXRow ( Rec  rec,
Rec  idx 
) [inline, virtual]

write a cooked row together with index information.

Parameters:
row the Rec to be written
Returns:
0 on success else a negative error code

Implements org::openisis::Db.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables

Generated on Tue Mar 30 14:47:17 2010 for IsisReader by  doxygen 1.6.1