C# Class Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexInput

Inheritance: BufferedIndexInput
显示文件 Open project: apache/lucenenet

Public Properties

Property Type Description
IsClone bool

Protected Properties

Property Type Description
End long
File FileStream
Off long

Public Methods

Method Description
Clone ( ) : object
Dispose ( ) : void
Length ( ) : long
SimpleFSIndexInput ( string resourceDesc, FileStream file, IOContext context ) : System
SimpleFSIndexInput ( string resourceDesc, FileStream file, long off, long length, int bufferSize ) : System

Protected Methods

Method Description
ReadInternal ( byte b, int offset, int len ) : void

IndexInput methods

SeekInternal ( long position ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

Dispose() public method

public Dispose ( ) : void
return void

Length() public final method

public final Length ( ) : long
return long

ReadInternal() protected method

IndexInput methods
protected ReadInternal ( byte b, int offset, int len ) : void
b byte
offset int
len int
return void

SeekInternal() protected method

protected SeekInternal ( long position ) : void
position long
return void

SimpleFSIndexInput() public method

public SimpleFSIndexInput ( string resourceDesc, FileStream file, IOContext context ) : System
resourceDesc string
file FileStream
context IOContext
return System

SimpleFSIndexInput() public method

public SimpleFSIndexInput ( string resourceDesc, FileStream file, long off, long length, int bufferSize ) : System
resourceDesc string
file FileStream
off long
length long
bufferSize int
return System

Property Details

End protected_oe property

end offset (start+length)
protected long End
return long

File protected_oe property

the file channel we will read from
protected FileStream File
return FileStream

IsClone public_oe property

is this instance a clone and hence does not own the file to close it
public bool IsClone
return bool

Off protected_oe property

start offset: non-zero in the slice case
protected long Off
return long