public class SortedTreeFile : IDisposablePublic Class SortedTreeFile
Implements IDisposablepublic ref class SortedTreeFile : IDisposableSnapDB.Snap.Storage.SortedTreeFile = function();
Type.createClass(
'SnapDB.Snap.Storage.SortedTreeFile',
null,
IDisposable);| ArchiveSize | Gets the size of the file. |
| FileName | Gets the name of the file, but only the file, not the entire path. |
| FilePath | Returns the name of the file. Returns Empty if this is a memory archive. This is the name of the entire path. |
| IsDisposed | Determines if the archive file has been disposed. |
| IsMemoryFile | Gets if the file is a memory file. |
| Snapshot | Gets the last committed read-only snapshot associated with this instance. |
| ChangeExtension | Changes the extension of the current file. |
| ChangeShareMode | Reopens the file with different permissions. |
| CreateFile | Creates an archive file. |
| CreateInMemory | Creates a new in memory archive file. |
| Delete | Closes and deletes the Archive File. Also calls dispose. If this is a memory archive, it will release the memory space to the buffer pool. |
| Dispose | Closes the archive file. If there is a current transaction, that transaction is immediately rolled back and disposed. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetMetadataTKey, TValue | Gets the metadata from the archive file associated with the specified key and value types. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| OpenFile | Opens an archive file. |
| OpenOrCreateTableTKey, TValue(EncodingDefinition, Int32) | Opens the default table for this TKey and TValue. If it does not exists, it will be created with the provided compression method. |
| OpenOrCreateTableTKey, TValue(EncodingDefinition, String, Int32) | Opens the default table for this TKey and TValue. If it does not exists, it will be created with the provided compression method. |
| OpenTableTKey, TValue | Opens the default table for this TKey and TValue. |
| OpenTableTKey, TValue(String) | Opens the default table for this TKey and TValue. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |