Returns a stream reading an existing file.
Declaration
public abstract IndexInput OpenInput(String name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Returns a stream reading an existing file, with the
specified read buffer size. The particular Directory
implementation may ignore the buffer size. Currently
the only Directory implementations that respect this
parameter are FSDirectory and CompoundFileReader
.
Declaration
public virtual IndexInput OpenInput(String name, int bufferSize)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Int32 |
bufferSize |
|
Returns