Class TrackingDirectoryWrapper
A delegating Directory that records which files were written to and deleted.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public sealed class TrackingDirectoryWrapper : FilterDirectory, IDisposable
Constructors
| Improve this Doc View SourceTrackingDirectoryWrapper(Directory)
Declaration
public TrackingDirectoryWrapper(Directory in)
Parameters
Type | Name | Description |
---|---|---|
Directory | in |
Properties
| Improve this Doc View SourceCreatedFiles
Declaration
public ISet<string> CreatedFiles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ISet<System.String> |
Methods
| Improve this Doc View SourceCopy(Directory, String, String, IOContext)
Declaration
public override void Copy(Directory to, string src, string dest, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | to | |
System.String | src | |
System.String | dest | |
IOContext | context |
Overrides
| Improve this Doc View SourceCreateOutput(String, IOContext)
Declaration
public override IndexOutput CreateOutput(string name, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
IOContext | context |
Returns
Type | Description |
---|---|
IndexOutput |
Overrides
| Improve this Doc View SourceCreateSlicer(String, IOContext)
Declaration
public override Directory.IndexInputSlicer CreateSlicer(string name, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
IOContext | context |
Returns
Type | Description |
---|---|
Directory.IndexInputSlicer |
Overrides
| Improve this Doc View SourceDeleteFile(String)
Declaration
public override void DeleteFile(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Overrides
Implements
System.IDisposable