Class NIOFSDirectory.NIOFSIndexInput
Inheritance
System.Object
NIOFSDirectory.NIOFSIndexInput
Assembly: Lucene.Net.dll
protected class NIOFSIndexInput : BufferedIndexInput, IDisposable
Constructors
|
Improve this Doc
View Source
NIOFSIndexInput(String, FileStream, IOContext)
Declaration
public NIOFSIndexInput(string resourceDesc, FileStream fc, IOContext context)
Parameters
Type |
Name |
Description |
System.String |
resourceDesc |
|
FileStream |
fc |
|
IOContext |
context |
|
|
Improve this Doc
View Source
Declaration
public NIOFSIndexInput(string resourceDesc, FileStream fc, long off, long length, int bufferSize)
Parameters
Type |
Name |
Description |
System.String |
resourceDesc |
|
FileStream |
fc |
|
System.Int64 |
off |
|
System.Int64 |
length |
|
System.Int32 |
bufferSize |
|
Fields
|
Improve this Doc
View Source
the file channel we will read from
Declaration
protected readonly FileStream m_channel
Field Value
Type |
Description |
FileStream |
|
|
Improve this Doc
View Source
end offset (start+length)
Declaration
protected readonly long m_end
Field Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
start offset: non-zero in the slice case
Declaration
protected readonly long m_off
Field Value
Type |
Description |
System.Int64 |
|
Properties
|
Improve this Doc
View Source
Declaration
public override sealed long Length { get; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
Methods
|
Improve this Doc
View Source
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
|
Improve this Doc
View Source
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
|
Improve this Doc
View Source
Declaration
protected override void NewBuffer(byte[] newBuffer)
Parameters
Type |
Name |
Description |
System.Byte[] |
newBuffer |
|
Overrides
|
Improve this Doc
View Source
Declaration
protected override void ReadInternal(byte[] b, int offset, int len)
Parameters
Type |
Name |
Description |
System.Byte[] |
b |
|
System.Int32 |
offset |
|
System.Int32 |
len |
|
Overrides
|
Improve this Doc
View Source
Declaration
protected override void SeekInternal(long pos)
Parameters
Type |
Name |
Description |
System.Int64 |
pos |
|
Overrides
Implements
IDisposable