Class SimpleFSDirectory.SimpleFSIndexInput
Reads bytes with followed by
.
Inheritance
System.Object
SimpleFSDirectory.SimpleFSIndexInput
Assembly: Lucene.Net.dll
protected class SimpleFSIndexInput : BufferedIndexInput, IDisposable
Constructors
|
Improve this Doc
View Source
SimpleFSIndexInput(String, FileStream, IOContext)
Declaration
public SimpleFSIndexInput(string resourceDesc, FileStream file, IOContext context)
Parameters
Type |
Name |
Description |
System.String |
resourceDesc |
|
FileStream |
file |
|
IOContext |
context |
|
|
Improve this Doc
View Source
Declaration
public SimpleFSIndexInput(string resourceDesc, FileStream file, long off, long length, int bufferSize)
Parameters
Type |
Name |
Description |
System.String |
resourceDesc |
|
FileStream |
file |
|
System.Int64 |
off |
|
System.Int64 |
length |
|
System.Int32 |
bufferSize |
|
Fields
|
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
the file channel we will read from
Declaration
protected readonly FileStream m_file
Field Value
Type |
Description |
FileStream |
|
|
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
is this instance a clone and hence does not own the file to close it
Declaration
public bool IsClone { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public virtual bool IsFDValid { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
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 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 position)
Parameters
Type |
Name |
Description |
System.Int64 |
position |
|
Overrides
Implements
IDisposable