This class is used to hand-off a configuration to diverse operations.
init |
constructor
- init;
setAllocSortedDuplicates: |
allow duplicates to be inserted using an automatic sorting mechanism
- setAllocSortedDuplicates: (BOOL) allow;
allow
- enables or disables this feature
The ordering of duplicates in the database is determined by the duplicate comparison function.
setAllowCreate: |
- (id) setAllowCreate: (BOOL) enable;
Create database if not existent
setAllowDuplicates: |
Configure the database to support duplicate data items.
- setAllowDuplicates: (BOOL) duplicatesAllowed;
sortedDuplicates
- If true, configure the database to support duplicate data items. A value of false is illegal to this method, that is, once set, the configuration cannot be cleared.
setBTreeRecordNumbering: |
Configure the Btree to support retrieval by record number.
- setBTreeRecordNumbering: (BOOL) recordNumbering;
recordNumbering
- enables or disables this feature
setDatabaseType: |
- BDBDatabaseType
- (id) setDatabaseType: (BDBDatabaseType) type;
Specify the database type (btree, hash, recno, queue) to be used.
setRecordRenumbering: |
Set record numbers being mutable
- setRecordRenumbering: (BOOL) renumber;
renumber
- specify to activate/deactivate renumbering
This flag is defind for only. It causes
logical record numbers to be mutable.
(Last Updated August 27, 2006)