FileBackedDictionaryTKey, TValue Class

Represents a lookup table of key/value pairs backed by a file, with very little memory overhead.

Definition

Namespace: Gemstone.IO.Collections
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.128 -- Release Build+2960d3f3619fdc53cad514a51817286dcfb19027
public sealed class FileBackedDictionary<TKey, TValue> : FileBackedDictionary<TKey, TValue, Object, Object>
Inheritance
Object    FileBackedDictionaryTKey, TValue, Object, Object    FileBackedDictionaryTKey, TValue

Type Parameters

TKey
The type of the keys in the lookup table.
TValue
The type of the values in the lookup table.

Constructors

FileBackedDictionaryTKey, TValue Creates a new instance of the FileBackedDictionaryTKey, TValue class.
FileBackedDictionaryTKey, TValue(IDictionaryTKey, TValue) Creates a new instance of the FileBackedDictionaryTKey, TValue class.
FileBackedDictionaryTKey, TValue(IEqualityComparerTKey) Creates a new instance of the FileBackedDictionaryTKey, TValue class.
FileBackedDictionaryTKey, TValue(String) Creates a new instance of the FileBackedDictionaryTKey, TValue class.
FileBackedDictionaryTKey, TValue(IDictionaryTKey, TValue, IEqualityComparerTKey) Creates a new instance of the FileBackedDictionaryTKey, TValue class.
FileBackedDictionaryTKey, TValue(String, IDictionaryTKey, TValue) Creates a new instance of the FileBackedDictionaryTKey, TValue class.
FileBackedDictionaryTKey, TValue(String, IEqualityComparerTKey) Creates a new instance of the FileBackedDictionaryTKey, TValue class.
FileBackedDictionaryTKey, TValue(String, IDictionaryTKey, TValue, IEqualityComparerTKey) Creates a new instance of the FileBackedDictionaryTKey, TValue class.

Properties

CacheSize Gets or sets the size of the cache used to store data from the file in memory.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Count Gets the number of elements contained in the FileBackedDictionaryTKey, TValue.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
DefaultSignature Gets the default signature used by the FileBackedDictionaryTKey, TValue if no user-defined signature is supplied.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
FilePath Gets or sets the path to the file backing this dictionary.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
FragmentationCount Gets the number of operations that fragment the lookup table that have occurred since the last time the lookup table was compacted.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
IsReadOnly Gets a value indicating whether the FileBackedDictionaryTKey, TValue is read-only.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Item Gets or sets the element with the specified key.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Keys Gets an FileBackedDictionaryTKey, TValue containing the keys of the FileBackedDictionaryTKey, TValue.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Signature Gets or sets the signature of the file backing the lookup table.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Values Gets an FileBackedDictionaryTKey, TValue containing the values in the FileBackedDictionaryTKey, TValue.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)

Methods

Add(KeyValuePairTKey, TValue) Adds an item to the FileBackedDictionaryTKey, TValue.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Add(TKey, TValue) Adds an element with the provided key and value to the FileBackedDictionaryTKey, TValue.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Clear Removes all items from the FileBackedDictionaryTKey, TValue.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Close Closes the file backing this dictionary.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Compact Defragments the item section of the dictionary, which gets fragmented after removing keys or updating values.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Contains Determines whether the FileBackedDictionaryTKey, TValue contains a specific value.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
ContainsKey Determines whether the FileBackedDictionaryTKey, TValue contains an element with the specified key.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
CopyTo Copies the elements of the FileBackedDictionaryTKey, TValue to an Array, starting at a particular Array index.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Dispose Releases all the resources used by the FileBackedDictionaryTKey, TValue object.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the collection.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetKeys Gets an enumerable used to iterate only the keys in the dictionary.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValues Gets an enumerable used to iterate only the values in the dictionary.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Open Opens the file backing this dictionary.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
OpenRead Opens the file backing this hash set in read-only mode.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Remove(TKey) Removes the element with the specified key from the FileBackedDictionaryTKey, TValue.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
Remove(KeyValuePairTKey, TValue) Removes the first occurrence of a specific object from the FileBackedDictionaryTKey, TValue.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetValue Gets the value associated with the specified key.
(Inherited from FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem)

See Also