|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectDataman.Dataman
public class Dataman
Global entries for Dataman programs. The master and workfile records and the last accessed index are made available here. The master record is where data retrieved from indexes are stored. The workfile record is where data from the command line workfile is stored. Also, methods to initialize the two types of Dataman processes. There are two types of Dataman processes. The first is the end sort program, where new indexes are built. The second is the file edit program, where records are retrieved, perused, and/or modified. makeIndex initializes the sort program, and initDataman initializes the edit programs.
| Field Summary | |
|---|---|
static DatamanIndex |
cur_index
This is a reference to the last operated on index. |
static DatamanRecord |
master
This is the master data record. |
static DatamanRecord |
workfile
This is the workfile record. |
| Constructor Summary | |
|---|---|
Dataman()
Construct an instance to reference Dataman. |
|
| Method Summary | |
|---|---|
static boolean |
commit()
Commit a transaction. |
static void |
initDataman(java.lang.String ClassName,
java.lang.String[] argv)
Initialize a Dataman file edit routine. |
static DatamanIndex |
makeIndex(java.lang.String ClassName,
java.lang.String[] argv)
Initialize a Dataman end sort routine. |
static void |
rollback()
Roll back a transaction. |
static void |
startTransaction()
Start a new transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static DatamanRecord master
public static DatamanRecord workfile
public static DatamanIndex cur_index
| Constructor Detail |
|---|
public Dataman()
| Method Detail |
|---|
public static void initDataman(java.lang.String ClassName,
java.lang.String[] argv)
ClassName - - name of the calling classargv - - the argument vector to main()
DatamanRuntimeException
public static DatamanIndex makeIndex(java.lang.String ClassName,
java.lang.String[] argv)
ClassName - - name of the calling classargv - - the argument vector to main()
DatamanRuntimeExceptionpublic static void startTransaction()
DatamanRuntimeExceptionpublic static void rollback()
DatamanRuntimeExceptionpublic static boolean commit()
DatamanRuntimeException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||