Class MockSingleInt32IndexInput
Reads IndexInputs written with MockSingleInt32IndexOutput. NOTE: this class is just for demonstration purposes(it is a very slow way to read a block of ints).
Note
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
Namespace: Lucene.Net.Codecs.MockSep
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockSingleInt32IndexInput : Int32IndexInput, IDisposable
Constructors
MockSingleInt32IndexInput(Directory, string, IOContext)
Reads IndexInputs written with MockSingleInt32IndexOutput. NOTE: this class is just for demonstration purposes(it is a very slow way to read a block of ints).
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public MockSingleInt32IndexInput(Directory dir, string fileName, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
string | fileName | |
IOContext | context |
Methods
Dispose(bool)
Reads IndexInputs written with MockSingleInt32IndexOutput. NOTE: this class is just for demonstration purposes(it is a very slow way to read a block of ints).
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Overrides
GetIndex()
Reads IndexInputs written with MockSingleInt32IndexOutput. NOTE: this class is just for demonstration purposes(it is a very slow way to read a block of ints).
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override Int32IndexInput.Index GetIndex()
Returns
Type | Description |
---|---|
Int32IndexInput.Index |
Overrides
GetReader()
Reads IndexInputs written with MockSingleInt32IndexOutput. NOTE: this class is just for demonstration purposes(it is a very slow way to read a block of ints).
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override Int32IndexInput.Reader GetReader()
Returns
Type | Description |
---|---|
Int32IndexInput.Reader |