jdbm
Class RecordManagerFactory
java.lang.Object
jdbm.RecordManagerFactory
- public final class RecordManagerFactory
- extends java.lang.Object
This class manages records, which are uninterpreted blobs of data. The
set of operations is simple and straightforward: you communicate with
the class using long "rowids" and byte[] data blocks. Rowids are returned
on inserts and you can stash them away someplace safe to be able to get
back to them. Data blocks can be as long as you wish, and may have
lengths different from the original when updating.
- Version:
- $Id: RecordManagerFactory.java,v 1.1 2002/05/31 06:33:20 boisvert Exp $
- Author:
- Alex Boisvert, Cees de Groot
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordManagerFactory
public RecordManagerFactory()
createRecordManager
public static RecordManager createRecordManager(java.lang.String name)
throws java.io.IOException
- Create a record manager.
- Parameters:
name
- Name of the record file.
- Throws:
java.io.IOException
createRecordManager
public static RecordManager createRecordManager(java.lang.String name,
java.util.Properties options)
throws java.io.IOException
- Create a record manager.
- Parameters:
name
- Name of the record file.options
- Record manager options.
- Throws:
java.io.IOException
Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net