Table of Contents

Public classSealed 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

Public constructor MMapDirectory(string)

Initialises a new MMapDirectory backed by the given file system path. Creates the directory if it does not already exist.

Public property DirectoryPath

Directory path backing this store.

Public method CreateOutput(string)

Creates a new file for writing.

Public method DeleteFile(string)

Deletes the specified file from the directory.

Public method FileExists(string)

Returns whether the specified file exists.

Public method ListAll()

Lists all files in the directory.

Public method OpenInput(string)

Opens an existing file for reading via memory-mapped I/O.