The SecondaryRecnoDatabaseConfig type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SecondaryRecnoDatabaseConfig |
Instantiate a new SecondaryRecnoDatabaseConfig object
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
SetEncryption |
Set the password and algorithm used by the Berkeley DB library to
perform encryption and decryption.
(Inherited from DatabaseConfig.) | |
SetForeignKeyConstraint | Overloaded. | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
AutoCommit |
Enclose the open call within a transaction. If the call succeeds,
the open operation will be recoverable and all subsequent database
modification operations based on this handle will be transactionally
protected. If the call fails, no database will have been created.
(Inherited from DatabaseConfig.) | |
BackingFile |
The underlying source file for the Recno access method.
| |
ByteOrder |
The byte order for integers in the stored database metadata. The
host byte order of the machine where the Berkeley DB library was
compiled is the default value.
(Inherited from DatabaseConfig.) | |
CacheSize |
The size of the shared memory buffer pool -- that is, the cache.
(Inherited from DatabaseConfig.) | |
Creation |
The policy for how to handle database creation.
| |
DoChecksum |
If true, do checksum verification of pages read into the cache from
the backing filestore.
(Inherited from DatabaseConfig.) | |
Env |
The Berkeley DB environment within which to create a database. If
null, the database will be created stand-alone; that is, it is not
part of any Berkeley DB environment.
(Inherited from DatabaseConfig.) | |
ErrorFeedback |
The mechanism for reporting error messages to the application.
(Inherited from DatabaseConfig.) | |
ErrorPrefix |
The prefix string that appears before error messages issued by
Berkeley DB.
(Inherited from DatabaseConfig.) | |
Feedback | ||
FreeThreaded |
Cause the database object to be free-threaded; that is, concurrently
usable by multiple threads in the address space.
(Inherited from DatabaseConfig.) | |
ImmutableKey |
If true, the secondary key is immutable.
(Inherited from SecondaryDatabaseConfig.) | |
NoMMap |
Do not map this database into process memory.
(Inherited from DatabaseConfig.) | |
NonDurableTxns |
If true, Berkeley DB will not write log records for this database.
(Inherited from DatabaseConfig.) | |
Populate |
If true and the secondary database is empty, walk through Primary
and create an index to it in the empty secondary. This operation is
potentially very expensive.
(Inherited from SecondaryDatabaseConfig.) | |
Priority |
The cache priority for pages referenced by the database.
(Inherited from DatabaseConfig.) | |
ReadOnly |
Open the database for reading only. Any attempt to modify items in
the database will fail, regardless of the actual permissions of any
underlying files.
(Inherited from DatabaseConfig.) | |
ReadUncommitted |
Support transactional read operations with degree 1 isolation.
(Inherited from DatabaseConfig.) | |
Renumber |
Cause the logical record numbers to be mutable, and change as
records are added to and deleted from the database.
| |
Snapshot |
If true, any BackingFile file will be read in its
entirety when Open(String, SecondaryRecnoDatabaseConfig) is called.
If false, BackingFile may be read lazily.
| |
Truncate |
Physically truncate the underlying file, discarding all previous databases it might have held.
(Inherited from DatabaseConfig.) | |
UseMVCC |
Open the database with support for multiversion concurrency control.
(Inherited from DatabaseConfig.) |
Properties
Name | Description | |
---|---|---|
Delimiter |
The delimiting byte used to mark the end of a record in
BackingFile.
| |
EncryptAlgorithm |
The algorithm used to perform encryption and decryption.
(Inherited from DatabaseConfig.) | |
EncryptionPassword |
The password used to perform encryption and decryption.
(Inherited from DatabaseConfig.) | |
ForeignKeyDatabase | (Inherited from SecondaryDatabaseConfig.) | |
ForeignKeyNullfier | (Inherited from SecondaryDatabaseConfig.) | |
KeyGen |
The delegate that creates the set of secondary keys corresponding to
a given primary key and data pair.
(Inherited from SecondaryDatabaseConfig.) | |
Length |
Specify that the records are fixed-length, not byte-delimited, and
are of length Length.
| |
OnForeignKeyDelete | (Inherited from SecondaryDatabaseConfig.) | |
PadByte |
The padding character for short, fixed-length records.
| |
PageSize |
The size of the pages used to hold items in the database, in bytes.
(Inherited from DatabaseConfig.) | |
Primary |
All updates to Primary will be automatically reflected in the
secondary and all reads from the secondary will return corresponding
data from Primary.
(Inherited from SecondaryDatabaseConfig.) |