
MMapDirectory
- Namespace
- Rowles.LeanLucene.Store
- Assembly
- Rowles.LeanLucene.dll
Primary directory implementation using memory-mapped files for reads and buffered file streams for writes.
public sealed class MMapDirectory : LeanDirectory
- Inheritance
-
MMapDirectory
MMapDirectory(string)
Initialises a new MMapDirectory backed by the given file system path. Creates the directory if it does not already exist.
DirectoryPath
Directory path backing this store.
CreateOutput(string)
Creates a new file for writing.
DeleteFile(string)
Deletes the specified file from the directory.
FileExists(string)
Returns whether the specified file exists.
ListAll()
Lists all files in the directory.
OpenInput(string)
Opens an existing file for reading via memory-mapped I/O.