Class Directory.IndexInputSlicer
Allows to create one or more sliced IndexInput instances from a single file handle. Some Directory implementations may be able to efficiently map slices of a file into memory when only certain parts of a file are required.
This is a Lucene.NET INTERNAL API, use at your own risk
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
    Directory.IndexInputSlicer
  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)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public abstract class IndexInputSlicer : IDisposableMethods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()Dispose(Boolean)
Declaration
protected abstract void Dispose(bool disposing)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | 
OpenFullSlice()
Returns an IndexInput slice starting at offset 0 with a
length equal to the length of the underlying file 
Declaration
[Obsolete("Only for reading CFS files from 3.x indexes.")]
public abstract IndexInput OpenFullSlice()Returns
| Type | Description | 
|---|---|
| IndexInput | 
OpenSlice(String, Int64, Int64)
Returns an IndexInput slice starting at the given offset with the given length.
Declaration
public abstract IndexInput OpenSlice(string sliceDescription, long offset, long length)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | sliceDescription | |
| System.Int64 | offset | |
| System.Int64 | length | 
Returns
| Type | Description | 
|---|---|
| IndexInput | 
Implements
      System.IDisposable