|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maverickdbms.basic.SequentialFile
SequentialFile provides an implementartion of a MV sequential file.
| Field Summary | |
protected java.io.RandomAccessFile |
file
|
| Constructor Summary | |
SequentialFile()
|
|
| Method Summary | |
ConstantString |
CLOSESEQ()
Close sequential file. |
mvString |
FILEINFO(mvString result,
ConstantString code)
|
ConstantString |
OPENSEQ(ConstantString name,
boolean readonly)
Open sequential file. |
ConstantString |
OPENSEQ(ConstantString dir,
ConstantString name,
boolean readonly)
Open sequential file. |
ConstantString |
READBLK(mvString var,
ConstantString blksize)
Read a set number of bytes from current file position. |
ConstantString |
READSEQ(mvString var)
Read record from current file position. |
ConstantString |
SEEK(ConstantString offset,
ConstantString relto)
|
ConstantString |
WRITEBLK(mvString var)
|
ConstantString |
WRITESEQ(ConstantString var,
boolean append)
Write record at current filepostion. |
ConstantString |
WRITESEQF(ConstantString var,
boolean append)
Write record and flush. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.io.RandomAccessFile file
| Constructor Detail |
public SequentialFile()
| Method Detail |
public ConstantString CLOSESEQ()
throws mvException
mvException
public mvString FILEINFO(mvString result,
ConstantString code)
throws mvException
mvException
public ConstantString OPENSEQ(ConstantString name,
boolean readonly)
throws mvException
mvException
public ConstantString OPENSEQ(ConstantString dir,
ConstantString name,
boolean readonly)
throws mvException
mvException
public ConstantString READBLK(mvString var,
ConstantString blksize)
var - variable to hold the read datablksize - length of data to read
public ConstantString READSEQ(mvString var)
public ConstantString SEEK(ConstantString offset,
ConstantString relto)
public ConstantString WRITEBLK(mvString var)
public ConstantString WRITESEQ(ConstantString var,
boolean append)
throws mvException
mvException
public ConstantString WRITESEQF(ConstantString var,
boolean append)
throws mvException
mvException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||