A Directory is a flat list of files. Files may be written once, when they
are created. Once a file is created it may only be opened for read, or
deleted. Random access is permitted both when reading and writing.
Java's i/o APIs not used directly, but rather all i/o is
through this API. This permits things such as:
Namespace: Lucene.Net.Store- implementation of RAM-based indices;
- implementation indices stored in a database, via JDBC;
- implementation of an index as a single file;
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[SerializableAttribute] public abstract class Directory : IDisposable |
Visual Basic |
---|
<SerializableAttribute> _ Public MustInherit Class Directory _ Implements IDisposable |
Visual C++ |
---|
[SerializableAttribute] public ref class Directory abstract : IDisposable |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Store..::..Directory
Lucene.Net.Index..::..CompoundFileReader
Lucene.Net.Store..::..FileSwitchDirectory
Lucene.Net.Store..::..FSDirectory
Lucene.Net.Store..::..RAMDirectory
Lucene.Net.Store..::..Directory
Lucene.Net.Index..::..CompoundFileReader
Lucene.Net.Store..::..FileSwitchDirectory
Lucene.Net.Store..::..FSDirectory
Lucene.Net.Store..::..RAMDirectory